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
..
2008-11-11 21:17:26 -05:00
2008-10-28 17:46:02 +09:00
2008-11-07 08:25:43 -08:00
2008-10-22 01:19:39 +02:00
2008-10-30 15:55:47 +01:00
2008-11-02 21:40:10 +01:00
2008-11-01 09:49:46 -07:00
2008-11-01 09:50:12 -07:00
2008-10-21 07:48:33 -04:00
2008-11-11 21:15:50 -05:00
2008-11-06 15:43:13 -08:00
2008-10-27 19:15:41 +01:00
2008-11-04 08:18:19 -08:00
2008-11-06 15:41:19 -08:00
2008-11-04 08:18:19 -08:00
2008-11-01 09:49:46 -07:00
2008-11-10 13:50:17 -08:00
2008-11-01 09:49:46 -07:00
2008-11-04 08:18:19 -08:00
2008-10-28 21:47:17 +00:00