linux-stable-rt/arch/arm/mach-pxa
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 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2010-03-01 09:15:15 -08:00
Kconfig [ARM] pxa/littleton: select CPU_PXA300 and CPU_PXA310 2009-12-29 14:11:29 +08:00
Makefile [ARM] pxa/zeus: basic support for Arcom Zeus SBC 2009-12-13 21:42:58 +08:00
Makefile.boot
am200epd.c
am300epd.c
balloon3.c
clock.c ARM: Consolidate clks_register() and similar 2010-02-12 17:32:36 +00:00
clock.h ARM: Consolidate clks_register() and similar 2010-02-12 17:32:36 +00:00
cm-x2xx-pci.c
cm-x2xx-pci.h
cm-x2xx.c
cm-x255.c
cm-x270.c
cm-x300.c [ARM] pxa/cm-x300: add PWM backlight support 2009-12-16 16:49:22 +08:00
colibri-pxa3xx.c
colibri-pxa270.c
colibri-pxa300.c
colibri-pxa320.c
corgi.c [ARM] pxa/corgi: fix incorrect default GPIO for UDC Vbus 2010-01-13 21:01:08 +08:00
corgi_lcd.c
corgi_pm.c
corgi_ssp.c platform-drivers: move probe to .devinit.text in arch/arm 2010-03-07 17:04:50 -08:00
cpufreq-pxa2xx.c
cpufreq-pxa3xx.c
csb701.c
csb726.c
devices.c [ARM] pxa: fix no reference of cpu_is_pxa25x() in devices.c 2009-12-16 21:35:52 +08:00
devices.h
e330.c
e350.c
e400.c
e740.c
e750.c
e800.c
em-x270.c
eseries.c ARM: Consolidate clks_register() and similar 2010-02-12 17:32:36 +00:00
eseries.h
ezx.c
generic.c
generic.h
gumstix.c
h5000.c
himalaya.c
hx4700.c
idp.c
imote2.c
irq.c [ARM] pxa: fix irq suspend/resume for pxa25x 2010-01-13 21:01:09 +08:00
leds-idp.c
leds-lubbock.c
leds-mainstone.c
leds.c
leds.h
littleton.c [ARM] pxa/littleton: add UART3 GPIO config 2009-12-29 14:11:28 +08:00
lpd270.c
lubbock.c
magician.c [ARM] pxa: update pwm_backlight->notify() to include missed 'struct device *' 2010-01-04 11:42:01 +08:00
mainstone.c
mfp-pxa2xx.c
mfp-pxa3xx.c
mioa701.c
mioa701_bootresume.S
mp900.c
palmld.c [ARM] pxa: update pwm_backlight->notify() to include missed 'struct device *' 2010-01-04 11:42:01 +08:00
palmt5.c [ARM] pxa: update pwm_backlight->notify() to include missed 'struct device *' 2010-01-04 11:42:01 +08:00
palmtc.c [ARM] pxa: update pwm_backlight->notify() to include missed 'struct device *' 2010-01-04 11:42:01 +08:00
palmte2.c [ARM] pxa: update pwm_backlight->notify() to include missed 'struct device *' 2010-01-04 11:42:01 +08:00
palmtreo.c [ARM] pxa: update pwm_backlight->notify() to include missed 'struct device *' 2010-01-04 11:42:01 +08:00
palmtx.c [ARM] pxa: update pwm_backlight->notify() to include missed 'struct device *' 2010-01-04 11:42:01 +08:00
palmz72.c [ARM] pxa: update pwm_backlight->notify() to include missed 'struct device *' 2010-01-04 11:42:01 +08:00
pcm027.c
pcm990-baseboard.c
pm.c
poodle.c [ARM] pxa/poodle: fix incorrect 'gpio_card_detect' of MMC 2009-12-29 14:11:35 +08:00
pxa2xx.c
pxa3xx.c ARM: Consolidate clks_register() and similar 2010-02-12 17:32:36 +00:00
pxa25x.c ARM: Consolidate clks_register() and similar 2010-02-12 17:32:36 +00:00
pxa27x.c ARM: Consolidate clks_register() and similar 2010-02-12 17:32:36 +00:00
pxa300.c ARM: Consolidate clks_register() and similar 2010-02-12 17:32:36 +00:00
pxa320.c ARM: Consolidate clks_register() and similar 2010-02-12 17:32:36 +00:00
pxa930.c
reset.c
saar.c
sharpsl.h
sharpsl_pm.c platform-drivers: move probe to .devinit.text in arch/arm 2010-03-07 17:04:50 -08:00
sleep.S
smemc.c
spitz.c [ARM] pxa: fix strange characters in zaurus gpio .desc 2010-01-08 09:42:45 +08:00
spitz_pm.c
ssp.c
standby.S
stargate2.c
tavorevb.c
time.c
tosa-bt.c
tosa.c
trizeps4.c
viper.c [ARM] pxa: update pwm_backlight->notify() to include missed 'struct device *' 2010-01-04 11:42:01 +08:00
xcep.c
zeus.c [ARM] pxa/zeus: provide power-source information when APM is enabled 2009-12-29 14:11:32 +08:00
zylonite.c [ARM] pxa/zylonite: simplify reduntant gpio settings on mmc slot 2009-12-29 14:11:34 +08:00
zylonite_pxa300.c [ARM] pxa/zylonite: simplify reduntant gpio settings on mmc slot 2009-12-29 14:11:34 +08:00
zylonite_pxa320.c [ARM] pxa/zylonite: simplify reduntant gpio settings on mmc slot 2009-12-29 14:11:34 +08:00