linux/drivers/ide
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
..
aec62xx.c
ali14xx.c
alim15x3.c
amd74xx.c amd74xx: device/vendor confusion 2009-02-25 20:28:22 +01:00
at91_ide.c ide: add at91_ide driver 2009-03-05 16:10:58 +01:00
atiixp.c atiixp: fix missing parentheses 2009-02-25 20:28:22 +01:00
au1xxx-ide.c platform driver: fix incorrect use of 'platform_bus_type' with 'struct device_driver' 2009-03-24 16:38:25 -07:00
buddha.c
cmd64x.c
cmd640.c
cs5520.c
cs5530.c
cs5535.c
cs5536.c ide: add CS5536 host driver (v3) 2009-02-02 20:12:23 +01:00
cy82c693.c
delkin_cb.c
dtc2278.c
falconide.c
gayle.c
hpt366.c
ht6560b.c
icside.c icside: fix PCB version 6 support (v2) 2009-02-02 20:12:23 +01:00
ide_arm.c
ide_platform.c
ide-4drives.c
ide-acpi.c ide: struct device - replace bus_id with dev_name(), dev_set_name() 2009-02-02 20:12:21 +01:00
ide-atapi.c ide-floppy: do not map dataless cmds to an sg 2009-03-13 21:16:12 +01:00
ide-cd_ioctl.c
ide-cd_verbose.c
ide-cd.c ide: fix refcounting in device drivers 2009-02-25 20:28:24 +01:00
ide-cd.h ide: fix refcounting in device drivers 2009-02-25 20:28:24 +01:00
ide-cs.c
ide-disk_ioctl.c
ide-disk_proc.c ide: NULL noise: drivers/ide/ide-*.c 2009-03-05 16:10:56 +01:00
ide-disk.c
ide-disk.h
ide-dma-sff.c
ide-dma.c ide: save the returned value of dma_map_sg 2009-03-13 21:16:13 +01:00
ide-floppy_ioctl.c
ide-floppy_proc.c ide: NULL noise: drivers/ide/ide-*.c 2009-03-05 16:10:56 +01:00
ide-floppy.c ide-floppy: do not map dataless cmds to an sg 2009-03-13 21:16:12 +01:00
ide-floppy.h
ide-gd.c ide: fix refcounting in device drivers 2009-02-25 20:28:24 +01:00
ide-gd.h ide: fix refcounting in device drivers 2009-02-25 20:28:24 +01:00
ide-generic.c
ide-h8300.c
ide-io.c ide: allow to wrap interrupt handler 2009-03-05 16:10:57 +01:00
ide-ioctls.c
ide-iops.c ide-iops: fix odd-length ATAPI PIO transfers 2009-03-05 16:10:56 +01:00
ide-legacy.c
ide-lib.c
ide-park.c
ide-pci-generic.c
ide-pio-blacklist.c
ide-pm.c
ide-pnp.c
ide-probe.c ide: allow to wrap interrupt handler 2009-03-05 16:10:57 +01:00
ide-proc.c ide: NULL noise: drivers/ide/ide-*.c 2009-03-05 16:10:56 +01:00
ide-scan-pci.c
ide-sysfs.c
ide-tape.c ide: NULL noise: drivers/ide/ide-*.c 2009-03-05 16:10:56 +01:00
ide-taskfile.c
ide-timings.c
ide.c ide: ide.c 'clear' fix, update "ide=nodma" documentation 2009-02-25 20:28:21 +01:00
it821x.c it821x: remove dead URL 2009-02-25 20:28:22 +01:00
it8172.c
it8213.c
jmicron.c
Kconfig ide: add at91_ide driver 2009-03-05 16:10:58 +01:00
macide.c
Makefile ide: add at91_ide driver 2009-03-05 16:10:58 +01:00
ns87415.c
opti621.c
palm_bk3710.c
pdc202xx_new.c
pdc202xx_old.c
piix.c
pmac.c
q40ide.c
qd65xx.c Fix my email address in qd65xx.[ch]/pata_qdi.c 2009-02-03 16:53:56 -08:00
qd65xx.h Fix my email address in qd65xx.[ch]/pata_qdi.c 2009-02-03 16:53:56 -08:00
rapide.c
rz1000.c
sc1200.c
scc_pata.c
serverworks.c
setup-pci.c
sgiioc4.c
siimage.c
sis5513.c
sl82c105.c
slc90e66.c
tc86c001.c
triflex.c
trm290.c
tx4938ide.c
tx4939ide.c tx4939ide: typo fix and minor cleanup 2009-02-02 20:12:23 +01:00
umc8672.c
via82cxxx.c ide: Force VIA IDE legacy interrupts for AmigaOne boards 2009-02-02 20:12:22 +01:00