ARM: OMAP2+: Fix section warnings for hsmmc_init_one
authorTony Lindgren <tony@atomide.com>
Thu, 8 Mar 2012 02:54:24 +0000 (18:54 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 8 Mar 2012 04:03:44 +0000 (20:03 -0800)
commit6028505c29dc89a3140df64a53d0d12038a87fed
tree315161adba9e311f6b3fe0f2c4913d59d152aeac
parent9cf793f9b8b1ba9414e2a7591b2e911885f85a27
ARM: OMAP2+: Fix section warnings for hsmmc_init_one

Otherwise we can get the following error depending on
the compiler:

WARNING: arch/arm/mach-omap2/built-in.o(.text+0xafe0):
Section mismatch in reference from the function omap_hsmmc_init_one()
to the function .init.text:omap_hsmmc_pdata_init()
The function omap_hsmmc_init_one() references
the function __init omap_hsmmc_pdata_init().
This is often because omap_hsmmc_init_one lacks a __init
annotation or the annotation of omap_hsmmc_pdata_init is wrong.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/hsmmc.c