forked from luck/tmp_suning_uos_patched
f9578fc078
qnap_tsx1x_register_flash is only called by qnap_ts219_init and qnap_ts41x_init which both live in .init.text, too. So the move is OK. This fixes the following warning in kirkwood_defconfig: WARNING: vmlinux.o(.text+0x9334): Section mismatch in reference from the function qnap_tsx1x_register_flash() to the variable .init.data:qnap_tsx1x_spi_slave_info The function qnap_tsx1x_register_flash() references the variable __initdata qnap_tsx1x_spi_slave_info. This is often because qnap_tsx1x_register_flash lacks a __initdata annotation or the annotation of qnap_tsx1x_spi_slave_info is wrong. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Nicolas Pitre <nico@fluxnic.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> |
||
---|---|---|
.. | ||
include/mach | ||
addr-map.c | ||
common.c | ||
common.h | ||
cpuidle.c | ||
db88f6281-bp-setup.c | ||
guruplug-setup.c | ||
irq.c | ||
Kconfig | ||
Makefile | ||
Makefile.boot | ||
mpp.c | ||
mpp.h | ||
mv88f6281gtw_ge-setup.c | ||
netspace_v2-setup.c | ||
netxbig_v2-setup.c | ||
openrd-setup.c | ||
pcie.c | ||
rd88f6192-nas-setup.c | ||
rd88f6281-setup.c | ||
sheevaplug-setup.c | ||
ts41x-setup.c | ||
ts219-setup.c | ||
tsx1x-common.c | ||
tsx1x-common.h |