0e3912c75f
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
acquirewdt.c | ||
advantechwdt.c | ||
alim1535_wdt.c | ||
alim7101_wdt.c | ||
ar7_wdt.c | ||
at32ap700x_wdt.c | ||
at91rm9200_wdt.c | ||
at91sam9_wdt.c | ||
bfin_wdt.c | ||
booke_wdt.c | ||
cpu5wdt.c | ||
cpwd.c | ||
davinci_wdt.c | ||
ep93xx_wdt.c | ||
eurotechwdt.c | ||
gef_wdt.c | ||
geodewdt.c | ||
hpwdt.c | ||
i6300esb.c | ||
iTCO_vendor.h | ||
iTCO_vendor_support.c | ||
iTCO_wdt.c | ||
ib700wdt.c | ||
ibmasr.c | ||
indydog.c | ||
iop_wdt.c | ||
it87_wdt.c | ||
it8712f_wdt.c | ||
ixp4xx_wdt.c | ||
ixp2000_wdt.c | ||
ks8695_wdt.c | ||
machzwd.c | ||
mixcomwd.c | ||
mpc8xxx_wdt.c | ||
mpc5200_wdt.c | ||
mpcore_wdt.c | ||
mtx-1_wdt.c | ||
mv64x60_wdt.c | ||
omap_wdt.c | ||
omap_wdt.h | ||
orion5x_wdt.c | ||
pc87413_wdt.c | ||
pcwd.c | ||
pcwd_pci.c | ||
pcwd_usb.c | ||
pika_wdt.c | ||
pnx4008_wdt.c | ||
rc32434_wdt.c | ||
rdc321x_wdt.c | ||
riowd.c | ||
rm9k_wdt.c | ||
s3c2410_wdt.c | ||
sa1100_wdt.c | ||
sb_wdog.c | ||
sbc60xxwdt.c | ||
sbc7240_wdt.c | ||
sbc8360.c | ||
sbc_epx_c3.c | ||
sc520_wdt.c | ||
sc1200wdt.c | ||
sch311x_wdt.c | ||
scx200_wdt.c | ||
shwdt.c | ||
smsc37b787_wdt.c | ||
softdog.c | ||
txx9wdt.c | ||
w83627hf_wdt.c | ||
w83697hf_wdt.c | ||
w83697ug_wdt.c | ||
w83877f_wdt.c | ||
w83977f_wdt.c | ||
wafer5823wdt.c | ||
wd501p.h | ||
wdrtas.c | ||
wdt.c | ||
wdt285.c | ||
wdt977.c | ||
wdt_pci.c | ||
wm8350_wdt.c |