diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-07 10:00:34 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-13 10:00:35 +0000 |
commit | a0bb10e86642064f6cec9e23f523127e5cfbe609 (patch) | |
tree | 9268898b0563af220eb7481b9e7a55314763fecd /scripts/dtc | |
parent | 0bf68f53f164e169c2bc77f707338fc595b6ccfc (diff) |
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 'scripts/dtc')
0 files changed, 0 insertions, 0 deletions