OpenCloudOS-Kernel/arch/arm/mach-at91
Uwe Kleine-König 5f6878b0d2 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>
2010-08-10 22:46:56 +01:00
..
include/mach ARM: 6209/3: at91_udc: Add vbus polarity and polling mode 2010-07-18 20:39:10 +01:00
Kconfig ARM: 6209/2: at91: Add support for Bluewater Systems Snapper 9260/9G20 modules 2010-07-09 12:31:52 +01:00
Makefile ARM: 6209/2: at91: Add support for Bluewater Systems Snapper 9260/9G20 modules 2010-07-09 12:31:52 +01:00
Makefile.boot [ARM] 5572/1: at91: Support for at91sam9g45 series: core chip & board support 2009-06-27 11:05:22 +01:00
at91cap9.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
at91cap9_devices.c ARM: 5719/1: [AT91] Fix AC97 breakage 2009-09-22 20:54:28 +01:00
at91rm9200.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
at91rm9200_devices.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91rm9200_time.c arm/at91: Don't disable irqs in set_next_event and set_mode callbacks 2010-01-22 17:04:39 +01:00
at91sam9g45.c ARM: 6169/1: AT91: add new at91 chips in at91sam9g45 family 2010-06-16 23:00:02 +01:00
at91sam9g45_devices.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2009-12-09 19:52:01 -08:00
at91sam9rl.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
at91sam9rl_devices.c AT91: add platform parameters for atmel_tsadcc in at91sam9rlek 2009-11-20 00:55:29 -08:00
at91sam926x_time.c arm/at91: Don't disable irqs in set_next_event and set_mode callbacks 2010-01-22 17:04:39 +01:00
at91sam9260.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
at91sam9260_devices.c AT91: atmel-mci: Platform configuration to the the atmel-mci driver 2009-09-23 07:39:37 -07:00
at91sam9261.c [ARM] 5570/1: at91: Support for at91sam9g10: core chip & board support 2009-07-02 15:59:56 +01:00
at91sam9261_devices.c [ARM] 5390/1: AT91: Watchdog fixes 2009-02-14 16:01:57 +00:00
at91sam9263.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
at91sam9263_devices.c Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2009-09-24 15:13:11 -07:00
at91x40.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91x40_time.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
at572d940hf.c ARM: 5850/1: [AT91] AT572D940HF processor support 2010-01-20 12:34:06 +00:00
at572d940hf_devices.c ARM: 5850/1: [AT91] AT572D940HF processor support 2010-01-20 12:34:06 +00:00
board-1arm.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-afeb-9260v1.c trivial: fix typos in comments s/DGBU/DBGU/ 2009-09-21 15:14:55 +02:00
board-at572d940hf_ek.c ARM: 5851/1: [AT91] AT572D940HF-EK board support 2010-01-20 12:36:27 +00:00
board-cam60.c ARM: 6323/1: cam60: don't use __init for cam60_spi_{flash_platform_data,partitions} 2010-08-10 22:46:56 +01:00
board-cap9adk.c ARM: 5719/1: [AT91] Fix AC97 breakage 2009-09-22 20:54:28 +01:00
board-carmeva.c [ARM] 5261/1: [AT91] Support for LEDs on Conitec ARM&EVA board 2008-09-29 15:46:03 +01:00
board-cpu9krea.c ARM: 5629/1: Add support for Eukrea's CPU9260 & CPU9G20 2009-07-30 17:48:40 +01:00
board-cpuat91.c ARM: 5630/1: Add support for Eukrea's CPUAT91 2009-07-30 17:48:41 +01:00
board-csb337.c [ARM] 5263/2: [AT91] GPIO buttons as wakeup sources 2008-09-21 23:01:00 +01:00
board-csb637.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-dk.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-eb01.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-eb9200.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-ecbat91.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-eco920.c ARM: 5782/1: at91: support for eco920 2009-11-10 23:46:35 +00:00
board-ek.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-kafa.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-kb9202.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-neocore926.c Merge branch 'origin' into for-linus 2009-09-24 21:22:33 +01:00
board-picotux200.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-qil-a9260.c trivial: fix typos in comments s/DGBU/DBGU/ 2009-09-21 15:14:55 +02:00
board-sam9-l9260.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-sam9g20ek-2slot-mmc.c ARM: 6163/1: at91sam9g20ek: add fixed-value regulator for wm8731 2010-06-16 23:00:01 +01:00
board-sam9g20ek.c ARM: 6162/1: at91sam9g20ek: add fixed-value regulator for wm8731 2010-06-16 23:00:01 +01:00
board-sam9m10g45ek.c ARM: mach-at91: duplicated include 2010-05-24 20:40:13 +01:00
board-sam9rlek.c AT91: add platform parameters for atmel_tsadcc in at91sam9rlek 2009-11-20 00:55:29 -08:00
board-sam9260ek.c trivial: fix typos in comments s/DGBU/DBGU/ 2009-09-21 15:14:55 +02:00
board-sam9261ek.c trivial: fix typos in comments s/DGBU/DBGU/ 2009-09-21 15:14:55 +02:00
board-sam9263ek.c Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2009-09-24 15:13:11 -07:00
board-snapper9260.c ARM: 6209/2: at91: Add support for Bluewater Systems Snapper 9260/9G20 modules 2010-07-09 12:31:52 +01:00
board-stamp9g20.c ARM: 6054/1: AT91: taskit PortuxG20 and Stamp9G20 board support 2010-04-14 11:24:53 +01:00
board-usb-a9260.c trivial: fix typos in comments s/DGBU/DBGU/ 2009-09-21 15:14:55 +02:00
board-usb-a9263.c trivial: fix typos in comments s/DGBU/DBGU/ 2009-09-21 15:14:55 +02:00
board-yl-9200.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
clock.c ARM: 5850/1: [AT91] AT572D940HF processor support 2010-01-20 12:34:06 +00:00
clock.h ARM: 5850/1: [AT91] AT572D940HF processor support 2010-01-20 12:34:06 +00:00
cpuidle.c ARM: 5778/1: AT91: Add cpuidle support 2009-11-10 23:46:35 +00:00
generic.h ARM: 5850/1: [AT91] AT572D940HF processor support 2010-01-20 12:34:06 +00:00
gpio.c [ARM] 5566/1: Remove at91_gpiolib_request 2009-06-27 11:03:47 +01:00
irq.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
leds.c [ARM] 5267/1: [AT91] Name conflict in mach-at91/leds.c 2008-09-29 15:46:26 +01:00
pm.c ARM: 5778/1: AT91: Add cpuidle support 2009-11-10 23:46:35 +00:00
pm.h ARM: 6185/1: AT91: PM: dual ram controller support 2010-07-09 12:31:50 +01:00
pm_slowclock.S ARM: 6185/1: AT91: PM: dual ram controller support 2010-07-09 12:31:50 +01:00
sam9_smc.c [ARM] 5287/2: [AT91] Configuration of Static Memory Controller 2008-12-01 17:18:08 +00:00
sam9_smc.h [ARM] 5287/2: [AT91] Configuration of Static Memory Controller 2008-12-01 17:18:08 +00:00