]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mfd: twl4030-power: Fix regression with missing compatible flag
authorTony Lindgren <tony@atomide.com>
Sun, 2 Nov 2014 18:09:38 +0000 (10:09 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2015 18:27:45 +0000 (10:27 -0800)
commit 1b9b46d05f887aec418b3a5f4f55abf79316fcda upstream.

Commit e7cd1d1eb16f ("mfd: twl4030-power: Add generic reset
configuration") accidentally removed the compatible flag for
"ti,twl4030-power" that should be there as documented in the
binding.

If "ti,twl4030-power" only the poweroff configuration is done
by the driver.

Fixes: e7cd1d1eb16f ("mfd: twl4030-power: Add generic reset configuration")
Reported-by: "Dr. H. Nikolaus Schaller" <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mfd/twl4030-power.c

index 542f1a8247f51f5557434bf9356477f092fff57f..33a35fbd48c9f268c83e1516c6605736be28205e 100644 (file)
@@ -827,6 +827,9 @@ static struct twl4030_power_data osc_off_idle = {
 };
 
 static struct of_device_id twl4030_power_of_match[] = {
+       {
+               .compatible = "ti,twl4030-power",
+       },
        {
                .compatible = "ti,twl4030-power-reset",
                .data = &omap3_reset,