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-07-25 10:53:43 -07:00
2008-10-20 08:50:24 -07:00
2008-06-20 14:05:55 -06:00
2008-10-13 09:51:38 -07:00
2008-10-20 08:52:41 -07:00
2008-10-20 09:41:06 -07:00
2008-07-20 17:12:36 -07:00
2008-07-22 13:03:28 -07:00
2008-06-20 14:05:57 -06:00
2008-11-01 09:49:46 -07:00
2008-06-20 14:05:48 -06:00
2008-02-07 08:42:25 -08:00
2008-10-16 11:21:47 -07:00
2008-04-30 08:29:43 -07:00
2008-07-24 10:47:14 -07:00
2008-10-13 09:51:44 -07:00
2008-10-13 09:51:39 -07:00
2007-02-12 09:48:30 -08:00
2007-07-21 17:49:16 -07:00
2008-10-13 09:51:44 -07:00
2008-11-01 09:49:46 -07:00
2008-07-20 17:12:38 -07:00
2008-07-20 17:12:38 -07:00
2008-07-22 13:03:28 -07:00
2008-07-20 17:12:38 -07:00
2008-11-01 09:49:46 -07:00
2006-01-12 09:09:00 -08:00
2008-07-20 17:12:34 -07:00
2008-07-26 20:29:03 -07:00
2008-11-11 21:14:11 -05:00
2008-07-20 17:12:38 -07:00
2008-10-20 08:52:36 -07:00
2008-10-20 08:52:34 -07:00
2008-06-20 14:05:51 -06:00
2008-04-30 23:15:34 +02:00
2008-10-23 09:20:53 -07:00
2008-07-26 20:29:03 -07:00
2008-10-16 16:52:05 +02:00