1
linux/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
am200epd.c
am300epd.c
balloon3.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
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 [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
cm-x255.c
cm-x270.c [ARM] pxa/cm-x270: add libertas device registration 2009-09-10 18:49:34 +08:00
cm-x300.c [ARM] pxa/cm-x300: add PWM backlight support 2009-12-16 16:49:22 +08:00
colibri-pxa3xx.c pxa3xx_nand: move pxa3xx_nand.h common into plat directory 2009-12-01 09:02:43 +08:00
colibri-pxa270.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
colibri-pxa300.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
colibri-pxa320.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
corgi_lcd.c
corgi_pm.c [ARM] pxa/zaurus: rename spitz_battery_levels_* to sharpsl_* 2009-12-01 09:03:01 +08:00
corgi_ssp.c platform-drivers: move probe to .devinit.text in arch/arm 2010-03-07 17:04:50 -08:00
corgi.c [ARM] pxa/corgi: fix incorrect default GPIO for UDC Vbus 2010-01-13 21:01:08 +08:00
cpufreq-pxa2xx.c [ARM] pxa/cpufreq: fix index assignments for end marker 2009-11-20 14:23:13 -06:00
cpufreq-pxa3xx.c [ARM] pxa/cpufreq: fix index assignments for end marker 2009-11-20 14:23:13 -06:00
csb701.c
csb726.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
devices.c [ARM] pxa: fix no reference of cpu_is_pxa25x() in devices.c 2009-12-16 21:35:52 +08:00
devices.h [ARM] pxa: add device definition for graphics controller 2009-09-10 18:49:27 +08:00
e330.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
e350.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
e400.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
e740.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
e750.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
e800.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
em-x270.c [ARM] pxa/em-x270: fix usb hub power up/reset sequence 2009-12-13 21:42:57 +08:00
eseries.c ARM: Consolidate clks_register() and similar 2010-02-12 17:32:36 +00:00
eseries.h
ezx.c [ARM] pxa/ezx: add leds-lp3944 support for A910 EZX phone 2009-12-01 09:03:03 +08:00
generic.c
generic.h [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
gumstix.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
h5000.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
himalaya.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
hx4700.c [ARM] pxa/hx4700: actually use platform_lcd driver 2009-12-01 09:03:15 +08:00
idp.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
imote2.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
irq.c [ARM] pxa: fix irq suspend/resume for pxa25x 2010-01-13 21:01:09 +08:00
Kconfig [ARM] pxa/littleton: select CPU_PXA300 and CPU_PXA310 2009-12-29 14:11:29 +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 [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
lubbock.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
magician.c [ARM] pxa: update pwm_backlight->notify() to include missed 'struct device *' 2010-01-04 11:42:01 +08:00
mainstone.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
Makefile [ARM] pxa/zeus: basic support for Arcom Zeus SBC 2009-12-13 21:42:58 +08:00
Makefile.boot
mfp-pxa2xx.c [ARM] pxa: enable GPIO receivers after configuring pins 2009-05-18 21:52:09 +08:00
mfp-pxa3xx.c
mioa701_bootresume.S
mioa701.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
mp900.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
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 [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
pcm990-baseboard.c [ARM] pxa/pcm990: don't use pxa_camera init() callback 2009-12-01 09:03:14 +08:00
pm.c [ARM] pxa/sharpsl_pm: zaurus needs generic pxa suspend/resume routines 2009-06-11 23:25:09 +08:00
poodle.c [ARM] pxa/poodle: fix incorrect 'gpio_card_detect' of MMC 2009-12-29 14:11:35 +08:00
pxa2xx.c [ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c 2009-09-10 18:49:39 +08:00
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 [ARM] pxa: support mfp of pxa935 2009-09-10 18:49:24 +08:00
reset.c [ARM] pxa: allow gpio_reset drive high during normal work 2009-05-18 21:52:09 +08:00
saar.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
sharpsl_pm.c platform-drivers: move probe to .devinit.text in arch/arm 2010-03-07 17:04:50 -08:00
sharpsl.h [ARM] pxa/zaurus: rename spitz_battery_levels_* to sharpsl_* 2009-12-01 09:03:01 +08:00
sleep.S
smemc.c
spitz_pm.c [ARM] pxa/zaurus: rename spitz_battery_levels_* to sharpsl_* 2009-12-01 09:03:01 +08:00
spitz.c [ARM] pxa: fix strange characters in zaurus gpio .desc 2010-01-08 09:42:45 +08:00
ssp.c [ARM] pxa: use platform_device_id table for SSP driver 2009-12-01 09:02:52 +08:00
standby.S
stargate2.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
tavorevb.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
time.c clocksource: pass clocksource to read() callback 2009-04-21 13:41:47 -07:00
tosa-bt.c rfkill: rewrite 2009-06-03 14:06:13 -04:00
tosa.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
trizeps4.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
viper.c [ARM] pxa: update pwm_backlight->notify() to include missed 'struct device *' 2010-01-04 11:42:01 +08:00
xcep.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
zeus.c [ARM] pxa/zeus: provide power-source information when APM is enabled 2009-12-29 14:11:32 +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
zylonite.c [ARM] pxa/zylonite: simplify reduntant gpio settings on mmc slot 2009-12-29 14:11:34 +08:00