original_kernel/arch/arm/mach-kirkwood
Uwe Kleine-König f9578fc078 ARM: 6265/1: kirkwood: move qnap_tsx1x_register_flash() to .init.text
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>
2010-07-26 10:33:08 +01:00
..
include/mach
Kconfig [ARM] Kirkwood: add LaCie 5Big Network v2 support 2010-05-03 17:02:42 -04:00
Makefile [ARM] Kirkwood: merge net2big_v2 and net5big_v2 board setups 2010-05-03 17:03:18 -04:00
Makefile.boot
addr-map.c
common.c mtd: kirkwood: allow machines to register RnB callback 2010-05-14 01:04:34 +01:00
common.h mtd: kirkwood: allow machines to register RnB callback 2010-05-14 01:04:34 +01:00
cpuidle.c
db88f6281-bp-setup.c
guruplug-setup.c [ARM] Kirkwood: Marvell GuruPlug support 2010-05-03 16:34:47 -04:00
irq.c
mpp.c
mpp.h
mv88f6281gtw_ge-setup.c
netspace_v2-setup.c
netxbig_v2-setup.c [ARM] Kirkwood: merge net2big_v2 and net5big_v2 board setups 2010-05-03 17:03:18 -04:00
openrd-setup.c
pcie.c
rd88f6192-nas-setup.c
rd88f6281-setup.c
sheevaplug-setup.c
ts41x-setup.c
ts219-setup.c
tsx1x-common.c ARM: 6265/1: kirkwood: move qnap_tsx1x_register_flash() to .init.text 2010-07-26 10:33:08 +01:00
tsx1x-common.h ARM: 6265/1: kirkwood: move qnap_tsx1x_register_flash() to .init.text 2010-07-26 10:33:08 +01:00