5f6878b0d2
From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 12/19] ARM: cam60: don't use __init for cam60_spi_{flash_platform_data,partitions} Date: Thu, 5 Aug 2010 16:08:46 +0200 Message-Id: <1281017333-5563-12-git-send-email-u.kleine-koenig@pengutronix.de> These two structs are referenced by cam60_spi_devices. The latter is copied at init time to kmalloced memory and so the copy isn't freed after booting. So it must not contain references to .init memory. This isn't noticed by modpost as cam60_spi_devices is in .init.data, too. Noticed-and-Acked-by: Andrew Victor <linux@maxim.org.za> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> |
||
---|---|---|
.. | ||
include/mach | ||
at91cap9_devices.c | ||
at91cap9.c | ||
at91rm9200_devices.c | ||
at91rm9200_time.c | ||
at91rm9200.c | ||
at91sam9g45_devices.c | ||
at91sam9g45.c | ||
at91sam9rl_devices.c | ||
at91sam9rl.c | ||
at91sam926x_time.c | ||
at91sam9260_devices.c | ||
at91sam9260.c | ||
at91sam9261_devices.c | ||
at91sam9261.c | ||
at91sam9263_devices.c | ||
at91sam9263.c | ||
at91x40_time.c | ||
at91x40.c | ||
at572d940hf_devices.c | ||
at572d940hf.c | ||
board-1arm.c | ||
board-afeb-9260v1.c | ||
board-at572d940hf_ek.c | ||
board-cam60.c | ||
board-cap9adk.c | ||
board-carmeva.c | ||
board-cpu9krea.c | ||
board-cpuat91.c | ||
board-csb337.c | ||
board-csb637.c | ||
board-dk.c | ||
board-eb01.c | ||
board-eb9200.c | ||
board-ecbat91.c | ||
board-eco920.c | ||
board-ek.c | ||
board-kafa.c | ||
board-kb9202.c | ||
board-neocore926.c | ||
board-picotux200.c | ||
board-qil-a9260.c | ||
board-sam9-l9260.c | ||
board-sam9g20ek-2slot-mmc.c | ||
board-sam9g20ek.c | ||
board-sam9m10g45ek.c | ||
board-sam9rlek.c | ||
board-sam9260ek.c | ||
board-sam9261ek.c | ||
board-sam9263ek.c | ||
board-snapper9260.c | ||
board-stamp9g20.c | ||
board-usb-a9260.c | ||
board-usb-a9263.c | ||
board-yl-9200.c | ||
clock.c | ||
clock.h | ||
cpuidle.c | ||
generic.h | ||
gpio.c | ||
irq.c | ||
Kconfig | ||
leds.c | ||
Makefile | ||
Makefile.boot | ||
pm_slowclock.S | ||
pm.c | ||
pm.h | ||
sam9_smc.c | ||
sam9_smc.h |