summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/eseries.h
diff options
context:
space:
mode:
authorRussell King2011-10-27 12:37:47 +0200
committerRussell King2011-11-05 20:09:42 +0100
commit955d2953b0402f497d58eaea91f36486bb473008 (patch)
tree3bb3d62eec68d35b6dc7d0ee7cc45de7104a2a9b /arch/arm/mach-pxa/eseries.h
parentARM: PXA: fix lubbock PCMCIA driver build error (diff)
downloadkernel-qcow2-linux-955d2953b0402f497d58eaea91f36486bb473008.tar.gz
kernel-qcow2-linux-955d2953b0402f497d58eaea91f36486bb473008.tar.xz
kernel-qcow2-linux-955d2953b0402f497d58eaea91f36486bb473008.zip
ARM: PXA: eseries: fix eseries_register_clks section mismatch warning
Fix: WARNING: vmlinux.o(.text+0x1a820): Section mismatch in reference from the function eseries_register_clks() to the function .init.text:clkdev_add_table() The function eseries_register_clks() references the function __init clkdev_add_table(). This is often because eseries_register_clks lacks a __init annotation or the annotation of clkdev_add_table is wrong. by adding the __init annotation to eseries_register_clks() - this function is only called from other __init-marked functions. While we're here, mark it static as it's only called from within eseries.c. Acked-by: Eric Miao <eric.y.miao@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/eseries.h')
-rw-r--r--arch/arm/mach-pxa/eseries.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/eseries.h b/arch/arm/mach-pxa/eseries.h
index be921965e91a..b96949dd5adb 100644
--- a/arch/arm/mach-pxa/eseries.h
+++ b/arch/arm/mach-pxa/eseries.h
@@ -11,5 +11,4 @@ extern int eseries_tmio_resume(struct platform_device *dev);
extern void eseries_get_tmio_gpios(void);
extern struct resource eseries_tmio_resources[];
extern struct platform_device e300_tc6387xb_device;
-extern void eseries_register_clks(void);