This function should be marked as __init because it is used only in the init phase. This fix the compiler warning: LD arch/arm/mach-mx3/built-in.o WARNING: arch/arm/mach-mx3/built-in.o(.text+0x1328): Section mismatch in reference from the function eet_init_devices() to the (unknown reference) .init.rodata:(unknown) The function eet_init_devices() references the (unknown reference) __initconst (unknown). This is often because eet_init_devices lacks a __initconst annotation or the annotation of (unknown) is wrong. Signed-off-by: Alberto Panizzo <maramaopercheseimorto@gmail.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
Makefile.boot | ||
clock-imx31.c | ||
clock-imx35.c | ||
cpu.c | ||
crm_regs.h | ||
devices-imx31.h | ||
devices-imx35.h | ||
devices.c | ||
devices.h | ||
eukrea_mbimxsd-baseboard.c | ||
iomux-imx31.c | ||
mach-armadillo5x0.c | ||
mach-cpuimx35.c | ||
mach-kzm_arm11_01.c | ||
mach-mx31_3ds.c | ||
mach-mx31ads.c | ||
mach-mx31lilly.c | ||
mach-mx31lite.c | ||
mach-mx31moboard.c | ||
mach-mx35_3ds.c | ||
mach-pcm037.c | ||
mach-pcm037_eet.c | ||
mach-pcm043.c | ||
mach-qong.c | ||
mm.c | ||
mx31lilly-db.c | ||
mx31lite-db.c | ||
mx31moboard-devboard.c | ||
mx31moboard-marxbot.c | ||
mx31moboard-smartbot.c | ||
pcm037.h |