summaryrefslogtreecommitdiffstats
path: root/arch/score
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-08-10 23:17:19 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-08-10 23:46:56 +0200
commit5f6878b0d22f9b93f9698f88c335007e2a3c3bbc (patch)
treecb5ed8d029d8b0a1d499c4431527e97438d79804 /arch/score
parentARM: 6324/1: cam60: move cam60_spi_devices to .init.data (diff)
downloadlinux-5f6878b0d22f9b93f9698f88c335007e2a3c3bbc.tar.xz
linux-5f6878b0d22f9b93f9698f88c335007e2a3c3bbc.zip
ARM: 6323/1: cam60: don't use __init for cam60_spi_{flash_platform_data,partitions}
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>
Diffstat (limited to 'arch/score')
0 files changed, 0 insertions, 0 deletions