1
linux/arch/arm/mach-sa1100
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 Merge branch 'misc2' into devel 2010-02-25 22:09:41 +00:00
assabet.c ARM: sa11x0: convert set_xxx_data() to register_xxx() 2009-12-06 16:52:23 +00:00
badge4.c ARM: sa11x0: convert set_xxx_data() to register_xxx() 2009-12-06 16:52:23 +00:00
cerf.c ARM: sa11x0: convert set_xxx_data() to register_xxx() 2009-12-06 16:52:23 +00:00
clock.c
collie.c Merge branch 'for-lak' of git://git.linuxtogo.org/home/thesing/collie into sa1100 2009-12-06 16:53:12 +00:00
cpu-sa1100.c
cpu-sa1110.c
dma.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
generic.c ARM: fix sa1100 build 2009-12-13 19:38:08 +00:00
generic.h ARM: sa11x0: convert set_xxx_data() to register_xxx() 2009-12-06 16:52:23 +00:00
gpio.c
h3xxx.c ARM: 5827/1: SA1100: h3100/h3600: emit messages on failed gpio_request 2009-12-06 16:52:58 +00:00
h3100.c ARM: 5827/1: SA1100: h3100/h3600: emit messages on failed gpio_request 2009-12-06 16:52:58 +00:00
h3600.c ARM: 5827/1: SA1100: h3100/h3600: emit messages on failed gpio_request 2009-12-06 16:52:58 +00:00
hackkit.c ARM: sa11x0: convert set_xxx_data() to register_xxx() 2009-12-06 16:52:23 +00:00
irq.c
jornada720_ssp.c platform-drivers: move probe to .devinit.text in arch/arm 2010-03-07 17:04:50 -08:00
jornada720.c ARM: sa11x0: convert set_xxx_data() to register_xxx() 2009-12-06 16:52:23 +00:00
Kconfig ARM: fix sa1100 build 2009-12-13 19:38:08 +00:00
lart.c ARM: sa11x0: convert set_xxx_data() to register_xxx() 2009-12-06 16:52:23 +00:00
leds-assabet.c
leds-badge4.c
leds-cerf.c
leds-hackkit.c
leds-lart.c
leds-simpad.c
leds.c
leds.h
Makefile ARM: 5820/1: SA1100: h3100/h3600: split h3600.c 2009-12-06 16:52:56 +00:00
Makefile.boot
neponset.c
pleb.c ARM: sa11x0: convert set_xxx_data() to register_xxx() 2009-12-06 16:52:23 +00:00
pm.c Nicolas Pitre has a new email address 2009-09-15 09:37:12 -07:00
shannon.c ARM: sa11x0: convert set_xxx_data() to register_xxx() 2009-12-06 16:52:23 +00:00
simpad.c ARM: sa11x0: convert set_xxx_data() to register_xxx() 2009-12-06 16:52:23 +00:00
sleep.S
ssp.c
time.c ARM: Fix SA11x0 clocksource warning 2009-09-28 18:06:19 +01:00