Resume from RAM on HPC nx6325 broken
commitce9b2b0abbf019d5259eb089a1cc256852930f67
authorRafael J. Wysocki <rjw@sisk.pl>
Sat, 16 Jun 2007 00:24:43 +0000 (16 02:24 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 16 Jun 2007 00:24:43 +0000 (16 02:24 +0200)
treec60d73f008d1c70002bef6b35901e4105269bc12
parentd09c6b809432668371b5de9102f4f9aa6a7c79cc
Resume from RAM on HPC nx6325 broken

generic_ide_resume() should check if dev->driver is not NULL before applying
to_ide_driver() to it.  Fix that.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide.c