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)
committerLee Jones <lee.jones@linaro.org>
Tue, 25 Nov 2014 16:18:48 +0000 (16:18 +0000)
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")
Cc: stable@vger.kernel.org # v3.16+
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>
drivers/mfd/twl4030-power.c

index cf92a6d1c532ac578d6bd9d042f4d1e8ebe55e7c..87f3ea8fd29aef34a0df3372bb32e026303f1b98 100644 (file)
@@ -778,6 +778,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,