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:30:15 +0000 (10:30 -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 50f9091bcd383e86be1149813f92c0c1186a4df2..7d63e324e6a813f4eba762cc462eadbf680ea24f 100644 (file)
@@ -830,6 +830,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,