kernel-fxtec-pro1x/drivers/char/ipmi
Darrick J. Wong fe2d5ffc74 Fix platform drivers that crash on suspend/resume
It turns out that if one registers a struct platform_device, the
platform device code expects that platform_device.device->driver points
to a struct driver inside a struct platform_driver.

This is not the case with the ipmi-si, ipmi-msghandler and ibmaem
drivers, which causes the suspend/resume hook functions to jump off into
nowhere, causing a crash.  Make this assumption hold true for these
three drivers.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Acked-by: Corey Minyard <cminyard@mvista.com>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Greg KH <greg@kroah.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-11-12 17:17:16 -08:00
..
ipmi_bt_sm.c IPMI: Style fixes in the system interface code 2008-04-29 08:06:15 -07:00
ipmi_devintf.c saner FASYNC handling on file close 2008-11-01 09:49:46 -07:00
ipmi_kcs_sm.c IPMI: Style fixes in the system interface code 2008-04-29 08:06:15 -07:00
ipmi_msghandler.c Fix platform drivers that crash on suspend/resume 2008-11-12 17:17:16 -08:00
ipmi_poweroff.c ipmi: fix return from atca_oem_poweroff_hook 2008-04-29 08:06:16 -07:00
ipmi_si_intf.c Fix platform drivers that crash on suspend/resume 2008-11-12 17:17:16 -08:00
ipmi_si_sm.h IPMI: Style fixes in the system interface code 2008-04-29 08:06:15 -07:00
ipmi_smic_sm.c IPMI: Style fixes in the system interface code 2008-04-29 08:06:15 -07:00
ipmi_watchdog.c saner FASYNC handling on file close 2008-11-01 09:49:46 -07:00
Kconfig
Makefile ipmi: remove unused target and action in Makefile 2008-04-29 08:06:15 -07:00