linux/arch/arm/mach-s3c2410
Uwe Kleine-König 91a99dfc6b platform-drivers: move probe to .devinit.text in arch/arm
A pointer to a probe callback is passed to the core via
platform_driver_register and so the function must not disappear when the
.init sections are discarded.  Otherwise (if also having HOTPLUG=y)
unbinding and binding a device to the driver via sysfs will result in an
oops as does a device being registered late.

An alternative to this patch is using platform_driver_probe instead of
platform_driver_register plus removing the pointer to the probe function
from the struct platform_driver.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Dmitry Baryshkov <dbaryshkov@gmail.com>
Cc: Eric Miao <eric.miao@marvell.com>
Cc: Liam Girdwood <liam.girdwood@wolfsonmicro.com>
Cc: Paul Sokolovsky <pmiscml@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Acked-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Acked-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-03-07 17:04:50 -08:00
..
include/mach ARM: 5910/1: ARM: Add tmp register for addruart and loadsp 2010-02-12 17:27:52 +00:00
bast-ide.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
bast-irq.c ARM: S3C: Update Simtec copyright statements from , to - [2] 2009-12-01 01:33:51 +00:00
cpu-freq.c ARM: S3C: Update Simtec copyright statements from , to - [2] 2009-12-01 01:33:51 +00:00
dma.c ARM: S3C2410: Add S3C2410A sysdev. 2009-07-30 23:22:55 +01:00
gpio.c ARM: S3C2410: Fix sparse warnings in arch/arm/mach-s3c2410/gpio.c 2009-10-28 18:34:56 +00:00
h1940-bluetooth.c platform-drivers: move probe to .devinit.text in arch/arm 2010-03-07 17:04:50 -08:00
irq.c ARM: S3C2410: Add S3C2410A sysdev. 2009-07-30 23:22:55 +01:00
Kconfig Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2009-12-09 19:43:33 -08:00
mach-amlm5900.c [ARM] S3C24XX: GPIO: Change to macros for GPIO numbering 2009-05-18 16:26:03 +01:00
mach-bast.c ARM: mach-bast: add NAND_SCAN_SILENT_NODEV to optional devices 2009-12-23 19:28:11 +00:00
mach-h1940.c ARM: S3C24XX: touchscreen device definition 2009-12-23 19:28:12 +00:00
mach-n30.c ARM: N30: Use s3c_i2c0_set_platdata() to set I2C platform data 2009-12-01 01:34:17 +00:00
mach-otom.c [ARM] S3C: Make i2c device definition common to plat-s3c 2008-12-15 23:40:26 +00:00
mach-qt2410.c ARM: S3C: Add NAND device platform data set call 2009-12-01 01:34:16 +00:00
mach-smdk2410.c [ARM] S3C: Make i2c device definition common to plat-s3c 2008-12-15 23:40:26 +00:00
mach-tct_hammer.c [ARM] S3C: Make i2c device definition common to plat-s3c 2008-12-15 23:40:26 +00:00
mach-vr1000.c ARM: S3C: Update Simtec copyright statements from , to - [2] 2009-12-01 01:33:51 +00:00
Makefile ARM: H1940: Convert h1940 bluetooth driver to rfkill 2009-12-01 01:35:06 +00:00
Makefile.boot
nor-simtec.c [ARM] S3C24XX: Fix nor-simtec driver sparse errors 2008-08-26 22:56:20 +01:00
nor-simtec.h [ARM] S3C24XX: Add physmap device for all Simtec NOR equiped boards. 2008-07-03 16:51:28 +01:00
pll.c ARM: S3C: Update Simtec copyright statements from , to - 2009-12-01 01:33:51 +00:00
pm-h1940.S [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
pm.c ARM: S3C2410: Add S3C2410A sysdev. 2009-07-30 23:22:55 +01:00
s3c2410.c ARM: S3C2410: Add armclk for cpufreq support 2009-07-30 23:22:55 +01:00
sleep.S [ARM] S3C24XX: Move files out of include/asm-arm/plat-s3c* 2008-10-07 22:26:09 +01:00
usb-simtec.c ARM: S3C: Update Simtec copyright statements from , to - 2009-12-01 01:33:51 +00:00
usb-simtec.h [ARM] 4050/1: S3C24XX: remove old changelogs in arch/arm/mach-s3c2410 2006-12-17 23:38:02 +00:00