diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2011-05-30 00:11:45 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-05-31 06:17:02 -0700 |
commit | 026fe79d75c3a7a257ca72250f46b472835784c9 (patch) | |
tree | 022c3581f0cce5cc5f05acad8258da2ba0dfaf23 /arch/arm/mach-omap2 | |
parent | 89c4705ed58a9e6faa7649eb561aead79bb77b3f (diff) | |
download | kernel-mfld-blackbay-026fe79d75c3a7a257ca72250f46b472835784c9.tar.gz kernel-mfld-blackbay-026fe79d75c3a7a257ca72250f46b472835784c9.tar.bz2 kernel-mfld-blackbay-026fe79d75c3a7a257ca72250f46b472835784c9.zip |
arm: omap3: cm-t3517: fix section mismatch warning
WARNING: arch/arm/mach-omap2/built-in.o(.text+0x11014): Section mismatch
in reference from the function cm_t3517_init_usbh() to the (unknown
reference) .init.data:(unknown)
The function cm_t3517_init_usbh() references
the (unknown reference) __initdata (unknown).
This is often because cm_t3517_init_usbh lacks a __initdata
annotation or the annotation of (unknown) is wrong.
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/board-cm-t3517.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-cm-t3517.c b/arch/arm/mach-omap2/board-cm-t3517.c index 08f08e81249..30e9c6bb163 100644 --- a/arch/arm/mach-omap2/board-cm-t3517.c +++ b/arch/arm/mach-omap2/board-cm-t3517.c @@ -177,7 +177,7 @@ static struct usbhs_omap_board_data cm_t3517_ehci_pdata __initdata = { .reset_gpio_port[2] = -EINVAL, }; -static int cm_t3517_init_usbh(void) +static int __init cm_t3517_init_usbh(void) { int err; |