linux_dsm_epyc7002/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 [ARM] pxa: introduce pxa{25x,27x,300,320,930}.h for board usage 2009-03-09 21:22:36 +08:00
am300epd.c [ARM] 5354/1: mach-pxa: add AM300 platform driver v3 2009-02-10 11:28:00 +00:00
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 [ARM] pxa: remove unnecessary #include of pxa-regs.h and hardware.h 2009-03-09 21:22:38 +08:00
cm-x2xx-pci.h [ARM] 5280/1: pxa: prepare cm-x2xx.c and cm-x2xx-pci.[ch] for addition of CM-X255 2008-10-07 12:05:05 +01:00
cm-x2xx.c [ARM] pxa: allow platforms to control which uarts are registered 2009-12-01 09:02:55 +08:00
cm-x255.c [ARM] pxa: introduce pxa{25x,27x,300,320,930}.h for board usage 2009-03-09 21:22:36 +08:00
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 [ARM] pxa: separate definitions from pxa-regs.h and remove it finally 2009-03-09 21:22:40 +08:00
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 [ARM] pxa/csb701: do not register devices on non-csb726 boads 2009-04-04 10:26:35 +08:00
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 [ARM] pxa: Add multi-io support for e-series 2008-12-15 03:29:34 +00:00
ezx.c [ARM] pxa/ezx: add leds-lp3944 support for A910 EZX phone 2009-12-01 09:03:03 +08:00
generic.c [ARM] pxa: move GPIO register definitions into <mach/gpio.h> 2009-03-09 21:22:37 +08:00
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 [ARM] pxa: introduce pxa{25x,27x,300,320,930}.h for board usage 2009-03-09 21:22:36 +08:00
leds-lubbock.c [ARM] pxa: introduce pxa{25x,27x,300,320,930}.h for board usage 2009-03-09 21:22:36 +08:00
leds-mainstone.c [ARM] pxa: introduce pxa{25x,27x,300,320,930}.h for board usage 2009-03-09 21:22:36 +08:00
leds.c [ARM] 5251/1: remove old LED support for Trizeps4 SOM 2008-10-01 22:34:34 +01:00
leds.h fix file specification in comments 2006-10-03 23:01:26 +02:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mfp-pxa2xx.c [ARM] pxa: enable GPIO receivers after configuring pins 2009-05-18 21:52:09 +08:00
mfp-pxa3xx.c [ARM] pxa: move common MFP handling code into plat-pxa 2009-03-23 10:11:34 +08:00
mioa701_bootresume.S [ARM] pxa/MioA701: fix memory corruption. 2008-11-22 20:57:21 +08:00
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 [ARM] pxa: separate definitions from pxa-regs.h and remove it finally 2009-03-09 21:22:40 +08:00
smemc.c [ARM] pxa: avoid polluting the kernel's namespace 2008-11-28 16:04:54 +00:00
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 [ARM] pxa: separate definitions from pxa-regs.h and remove it finally 2009-03-09 21:22:40 +08:00
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