diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-07 11:00:34 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-13 11:00:35 +0100 |
commit | a0bb10e86642064f6cec9e23f523127e5cfbe609 (patch) | |
tree | 9268898b0563af220eb7481b9e7a55314763fecd /arch/arm/mach-omap2 | |
parent | ARM: omap: fix uninformative vc/i2c configuration error message (diff) | |
download | linux-a0bb10e86642064f6cec9e23f523127e5cfbe609.tar.xz linux-a0bb10e86642064f6cec9e23f523127e5cfbe609.zip |
ARM: omap: fix section mismatch errors in TWL PMIC driver
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.
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap2')
0 files changed, 0 insertions, 0 deletions