linux-stable-rt/drivers/watchdog
Uwe Kleine-König 0e3912c75f [WATCHDOG] omap_wdt.c: move probe function to .devinit.text
A pointer to omap_wdt_probe 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: Alan Cox <alan@redhat.com>
Cc: Felipe Balbi <felipe.balbi@nokia.com>
Cc: George G. Davis <gdavis@mvista.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2009-04-08 06:21:57 +00:00
..
Kconfig [WATCHDOG] remove ARM26 sections 2009-04-08 06:10:09 +00:00
Makefile [WATCHDOG] remove ARM26 sections 2009-04-08 06:10:09 +00:00
acquirewdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
advantechwdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
alim1535_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
alim7101_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
ar7_wdt.c
at32ap700x_wdt.c
at91rm9200_wdt.c [WATCHDOG] at91rm9200_wdt.c: move probe function to .devinit.text 2009-04-08 06:12:46 +00:00
at91sam9_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
bfin_wdt.c
booke_wdt.c
cpu5wdt.c
cpwd.c [WATCHDOG] Fix io.h & uaccess.h includes. 2009-03-25 09:07:34 +00:00
davinci_wdt.c [WATCHDOG] davinci: convert to ioremap() + io[read|write] 2009-03-25 08:57:43 +00:00
ep93xx_wdt.c
eurotechwdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
gef_wdt.c [WATCHDOG] gef_wdt.c: fsl_get_sys_freq() failure not noticed 2009-03-05 14:02:53 +00:00
geodewdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
hpwdt.c dmi: Let dmi_walk() users pass private data 2009-03-30 21:46:44 +02:00
i6300esb.c [WATCHDOG] i6300esb.c: Restructure initialization of the device 2009-04-08 06:06:50 +00:00
iTCO_vendor.h
iTCO_vendor_support.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
iTCO_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
ib700wdt.c
ibmasr.c
indydog.c
iop_wdt.c
it87_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
it8712f_wdt.c
ixp4xx_wdt.c
ixp2000_wdt.c
ks8695_wdt.c [WATCHDOG] ks8695_wdt.c: move probe function to .devinit.text 2009-04-08 06:13:07 +00:00
machzwd.c
mixcomwd.c
mpc8xxx_wdt.c
mpc5200_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
mpcore_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
mtx-1_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
mv64x60_wdt.c
omap_wdt.c [WATCHDOG] omap_wdt.c: move probe function to .devinit.text 2009-04-08 06:21:57 +00:00
omap_wdt.h
orion5x_wdt.c [WATCHDOG] orion5x_wdt: Add shutdown callback, use watchdog ping function 2009-04-08 06:09:01 +00:00
pc87413_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
pcwd.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
pcwd_pci.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
pcwd_usb.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
pika_wdt.c
pnx4008_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
rc32434_wdt.c [WATCHDOG] struct file_operations should be const 2009-03-25 09:06:18 +00:00
rdc321x_wdt.c
riowd.c [WATCHDOG] Fix io.h & uaccess.h includes. 2009-03-25 09:07:34 +00:00
rm9k_wdt.c platform driver: fix incorrect use of 'platform_bus_type' with 'struct device_driver' 2009-03-24 16:38:25 -07:00
s3c2410_wdt.c
sa1100_wdt.c Merge branch 'origin' into devel 2009-03-28 20:29:51 +00:00
sb_wdog.c
sbc60xxwdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
sbc7240_wdt.c
sbc8360.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
sbc_epx_c3.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
sc520_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
sc1200wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
sch311x_wdt.c
scx200_wdt.c
shwdt.c
smsc37b787_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
softdog.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
txx9wdt.c
w83627hf_wdt.c
w83697hf_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
w83697ug_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
w83877f_wdt.c
w83977f_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
wafer5823wdt.c
wd501p.h [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
wdrtas.c powerpc/wdrtas: Update wdrtas_get_interval to use rtas_data_buf 2009-04-07 15:07:43 +10:00
wdt.c [WATCHDOG] wdt.c: remove #ifdef CONFIG_WDT_501 2009-03-25 09:08:16 +00:00
wdt285.c
wdt977.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
wdt_pci.c
wm8350_wdt.c