ARM: omap: fix section mismatch errors in TWL PMIC driver
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Wed, 8 Feb 2012 16:38:09 +0000 (16:38 +0000)
committerTony Lindgren <tony@atomide.com>
Thu, 9 Feb 2012 18:10:50 +0000 (10:10 -0800)
WARNING: drivers/mfd/built-in.o(.devinit.text+0x258): Section mismatch in reference from the function twl_probe() to the function .init.text:twl4030_power_init()
The function __devinit twl_probe() references
a function __init twl4030_power_init().
If twl4030_power_init is only used by twl_probe then
annotate twl4030_power_init with a matching annotation.

twl4030_power_init() references other __init marked functions, so
these too must become __devinit.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mfd/twl4030-power.c

Simple merge