diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2012-02-05 12:39:40 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-02-08 06:36:32 +0100 |
commit | 3686396410e41d97356924b246aced7c86e29ca0 (patch) | |
tree | 7a7a4a56f48d78c5d0672ec67214ab53b71c889a /arch/arm/mach-omap2/board-cm-t35.c | |
parent | ARM: OMAP2: Fix the OMAP2 only build break seen with 2011+ ARM tool-chains (diff) | |
download | linux-3686396410e41d97356924b246aced7c86e29ca0.tar.xz linux-3686396410e41d97356924b246aced7c86e29ca0.zip |
ARM: OMAP3: cm-t35: fix section mismatch warning
WARNING: arch/arm/mach-omap2/built-in.o(.text+0xeae8):
Section mismatch in reference from the function cm_t35_init_usbh()
to the (unknown reference) .init.data:(unknown)
The function cm_t35_init_usbh() references
the (unknown reference) __initdata (unknown).
This is often because cm_t35_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/board-cm-t35.c')
-rw-r--r-- | arch/arm/mach-omap2/board-cm-t35.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c index e921e3be24a4..d73316ed4207 100644 --- a/arch/arm/mach-omap2/board-cm-t35.c +++ b/arch/arm/mach-omap2/board-cm-t35.c @@ -437,7 +437,7 @@ static struct usbhs_omap_board_data usbhs_bdata __initdata = { .reset_gpio_port[2] = -EINVAL }; -static void cm_t35_init_usbh(void) +static void __init cm_t35_init_usbh(void) { int err; |