kernel-fxtec-pro1x/arch/mips/basler/excite
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
..
excite_device.c [MIPS] excite: use __maybe_unused 2007-05-11 14:28:33 +01:00
excite_iodev.c platform driver: fix incorrect use of 'platform_bus_type' with 'struct device_driver' 2009-03-24 16:38:25 -07:00
excite_iodev.h [MIPS] Support for the RM9000-based Basler eXcite smart camera platform. 2006-06-19 17:39:26 +01:00
excite_irq.c [MIPS] kgdb: Remove existing implementation 2008-07-30 21:54:42 +01:00
excite_procfs.c proc: switch /proc/excite/unit_id to seq_file interface 2008-04-29 08:06:19 -07:00
excite_prom.c [MIPS] remove unused mips_machtype 2008-01-29 10:14:55 +00:00
excite_setup.c [MIPS] kgdb: Remove existing implementation 2008-07-30 21:54:42 +01:00
Kconfig [MIPS] move the eXcite local config to excitedirectory 2008-01-29 10:15:00 +00:00
Makefile [MIPS] kgdb: Remove existing implementation 2008-07-30 21:54:42 +01:00