linux_old1/drivers/watchdog
Ming Lei 7a192ec334 platform driver: fix incorrect use of 'platform_bus_type' with 'struct device_driver'
This patch fixes the bug reported in
	http://bugzilla.kernel.org/show_bug.cgi?id=11681.

"Lots of device drivers register a 'struct device_driver' with
the '.bus' member set to '&platform_bus_type'. This is wrong,
since the platform_bus functions expect the 'struct device_driver'
to be wrapped up in a 'struct platform_driver' which provides
some additional callbacks (like suspend_late, resume_early).
The effect may be that platform_suspend_late() uses bogus data
outside the device_driver struct as a pointer pointer to the
device driver's suspend_late() function or other hard to
reproduce failures."(Lothar Wassmann)

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-03-24 16:38:25 -07:00
..
Kconfig [WATCHDOG] iTCO_wdt: fix SMI_EN regression 2 2009-02-14 08:49:23 +00:00
Makefile [WATCHDOG] Pika Warp appliance watchdog timer 2009-01-12 20:08:56 +00:00
acquirewdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
advantechwdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
alim1535_wdt.c [WATCHDOG] more coding style clean-up's 2008-08-06 20:19:41 +00:00
alim7101_wdt.c [WATCHDOG] more coding style clean-up's 2008-08-06 20:19:41 +00:00
ar7_wdt.c [WATCHDOG] more coding style clean-up's 2008-08-06 20:19:41 +00:00
at32ap700x_wdt.c [WATCHDOG] more coding style clean-up's 2008-08-06 20:19:41 +00:00
at91rm9200_wdt.c [ARM] 5390/1: AT91: Watchdog fixes 2009-02-14 16:01:57 +00:00
at91sam9_wdt.c [ARM] 5390/1: AT91: Watchdog fixes 2009-02-14 16:01:57 +00:00
bfin_wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
booke_wdt.c powerpc: Fix Book-E watchdog timer interval setting 2008-11-08 12:38:59 -06:00
cpu5wdt.c [WATCHDOG] Coding style - Indentation - part 2 2008-08-06 13:21:09 +00:00
cpwd.c sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07:00
davinci_wdt.c Merge Linus' latest into master 2008-08-08 19:18:18 +01:00
ep93xx_wdt.c Merge Linus' latest into master 2008-08-08 19:18:18 +01:00
eurotechwdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +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] unlocked_ioctl changes 2008-09-23 08:12:30 +00:00
hpwdt.c [WATCHDOG] hpwdt: Fix kdump when using hpwdt 2008-12-01 15:55:10 +00:00
i6300esb.c [WATCHDOG] pci: use pci_ioremap_bar() in drivers/watchdog 2008-10-24 07:47:24 +00:00
iTCO_vendor.h [WATCHDOG 18/57] iTCO: unlocked_ioctl, coding style and cleanup 2008-05-28 11:51:32 +00:00
iTCO_vendor_support.c [WATCHDOG] iTCO_wdt: fix SMI_EN regression 2 2009-02-14 08:49:23 +00:00
iTCO_wdt.c [WATCHDOG] iTCO_wdt: fix SMI_EN regression 2 2009-02-14 08:49:23 +00:00
ib700wdt.c [WATCHDOG] ib700wdt - add timeout parameter 2008-12-31 16:12:16 +00:00
ibmasr.c [WATCHDOG] ibmasr: remove unnecessary spin_unlock() 2008-09-23 08:05:32 +00:00
indydog.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
iop_wdt.c Merge Linus' latest into master 2008-08-08 19:18:18 +01:00
it87_wdt.c [WATCHDOG] add watchdog driver IT8716 IT8726 IT8712J/K 2008-10-10 13:09:17 +00:00
it8712f_wdt.c [WATCHDOG] more coding style clean-up's 2008-08-06 20:19:41 +00:00
ixp4xx_wdt.c [ARM] cputype: separate definitions, use them 2008-09-01 12:06:23 +01:00
ixp2000_wdt.c Merge Linus' latest into master 2008-08-08 19:18:18 +01:00
ks8695_wdt.c [WATCHDOG] ks8695_wdt.c: 'CLOCK_TICK_RATE' undeclared 2009-03-05 13:59:05 +00:00
machzwd.c [WATCHDOG 24/57] machzwd: clean up, coding style, unlocked_ioctl 2008-06-13 19:25:38 +00:00
mixcomwd.c [WATCHDOG] Coding style - Indentation - part 2 2008-08-06 13:21:09 +00:00
mpc8xxx_wdt.c [WATCHDOG] mpc8xxx_wdt: fix modular build 2008-08-26 20:20:44 +00:00
mpc5200_wdt.c [WATCHDOG] more coding style clean-up's 2008-08-06 20:19:41 +00:00
mpcore_wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
mtx-1_wdt.c [WATCHDOG] fix mtx1_wdt compilation failure 2008-11-21 08:20:49 +00:00
mv64x60_wdt.c [WATCHDOG] Clean-up includes 2008-08-06 13:02:16 +00:00
omap_wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
omap_wdt.h [WATCHDOG] omap_wdt.c: sync linux-omap changes 2008-10-10 13:11:10 +00:00
orion5x_wdt.c [WATCHDOG] orion5x_wdt.c: 'ORION5X_TCLK' undeclared 2009-03-05 19:25:05 +00:00
pc87413_wdt.c [WATCHDOG] removed unused #include <version.h> 2008-08-26 20:32:02 +00:00
pcwd.c [WATCHDOG] pcwd.c - fix open_allowed type. 2008-08-10 21:57:03 +00:00
pcwd_pci.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
pcwd_usb.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
pika_wdt.c [WATCHDOG] Pika Warp appliance watchdog timer 2009-01-12 20:08:56 +00:00
pnx4008_wdt.c [WATCHDOG] unlocked_ioctl changes 2008-09-23 08:12:30 +00:00
rc32434_wdt.c [WATCHDOG] rc32434_wdt: fix sections 2009-02-24 09:00:53 +00:00
rdc321x_wdt.c [WATCHDOG] unlocked_ioctl changes 2008-09-23 08:12:30 +00:00
riowd.c sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07: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 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into s3c-moves2 2008-11-03 14:49:01 +00:00
sa1100_wdt.c Merge branch 'for-rmk' of git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6 into devel 2008-12-29 18:08:11 +00:00
sb_wdog.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
sbc60xxwdt.c [WATCHDOG] more coding style clean-up's 2008-08-06 20:19:41 +00:00
sbc7240_wdt.c [WATCHDOG] Coding style - Indentation - part 2 2008-08-06 13:21:09 +00:00
sbc8360.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
sbc_epx_c3.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
sc520_wdt.c [WATCHDOG] Coding style - Indentation - part 2 2008-08-06 13:21:09 +00:00
sc1200wdt.c [WATCHDOG] more coding style clean-up's 2008-08-06 20:19:41 +00:00
sch311x_wdt.c [WATCHDOG] Add SMSC SCH311x Watchdog Timer. 2008-12-31 16:12:47 +00:00
scx200_wdt.c [WATCHDOG] more coding style clean-up's 2008-08-06 20:19:41 +00:00
shwdt.c [WATCHDOG] fix watchdog/shwdt.c compilation 2008-08-10 20:22:32 +00:00
smsc37b787_wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
softdog.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
txx9wdt.c [WATCHDOG] fix watchdog/txx9wdt.c compilation 2008-08-10 20:19:11 +00:00
w83627hf_wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
w83697hf_wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
w83697ug_wdt.c watchdog: Fix warning 2008-10-23 09:19:47 -07:00
w83877f_wdt.c [WATCHDOG] Coding style - Indentation - part 2 2008-08-06 13:21:09 +00:00
w83977f_wdt.c [WATCHDOG] Coding style - Indentation - part 2 2008-08-06 13:21:09 +00:00
wafer5823wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
wd501p.h [WATCHDOG] more coding style clean-up's 2008-08-06 20:19:41 +00:00
wdrtas.c [WATCHDOG] more coding style clean-up's 2008-08-06 20:19:41 +00:00
wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
wdt285.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
wdt977.c [WATCHDOG] Coding style - Indentation - part 2 2008-08-06 13:21:09 +00:00
wdt_pci.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
wm8350_wdt.c [WATCHDOG] wm8350: Fix section annotations 2009-01-12 20:08:30 +00:00