[PATCH] omap_cf: oops-on-suspend fix
authorDavid Brownell <david-b@pacbell.net>
Sun, 8 Apr 2007 23:04:02 +0000 (16:04 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 9 Apr 2007 02:47:55 +0000 (19:47 -0700)
commitb6d2cccb55b518956a7de75182757276a2057869
tree3fd7796ccfb5a2feb414eef3a11ac4a629059505
parent49f19710512c825aaea73b9207b3a848027cda1d
[PATCH] omap_cf: oops-on-suspend fix

Convert omap_cf into a platform_driver ...  this resolves oopsing during
suspend/resume.

Evidently folk haven't tried suspend/resume on an OSK (the main platform
for this driver) since September or so, which is when platform_device
learned about suspend_late()/resume_early() and stopped being able to
suspend/resume without a platform_driver.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pcmcia/omap_cf.c