summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-bq4802.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-02-07 10:34:01 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-02-13 10:00:37 +0000
commit45176f4cf7aa84da97c2c1e66569cb2e44cb97ce (patch)
tree15dab80f36b14ff0574e24a639ebabaaa2bbc51c /drivers/rtc/rtc-bq4802.c
parentd5de63f5f84d7def5e25a90e44234c58003876c1 (diff)
downloadblackbird-op-linux-45176f4cf7aa84da97c2c1e66569cb2e44cb97ce.tar.gz
blackbird-op-linux-45176f4cf7aa84da97c2c1e66569cb2e44cb97ce.zip
ARM: omap: fix section mismatch warning for omap_secondary_startup()
WARNING: vmlinux.o(.text+0x1c664): Section mismatch in reference from the function omap_secondary_startup() to the function .cpuinit.text:secondary_startup() The function omap_secondary_startup() references the function __cpuinit secondary_startup(). This is often because omap_secondary_startup lacks a __cpuinit annotation or the annotation of secondary_startup is wrong. Unfortunately, fixing this causes a new warning which is harder to solve: WARNING: arch/arm/mach-omap2/built-in.o(.text+0x5328): Section mismatch in reference from the function omap4_hotplug_cpu() to the function .cpuinit.text:omap_secondary_startup() The function omap4_hotplug_cpu() references the function __cpuinit omap_secondary_startup(). This is often because omap4_hotplug_cpu lacks a __cpuinit annotation or the annotation of omap_secondary_startup is wrong. because omap4_hotplug_cpu() is used by power management code as well, which may not end up using omap_secondary_startup(). Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/rtc/rtc-bq4802.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud