drivers/ata/pata_cmd640.c: fix build with CONFIG_PM=n
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 26 Apr 2007 07:19:26 +0000 (00:19 -0700)
committerJeff Garzik <jeff@garzik.org>
Sat, 28 Apr 2007 19:16:40 +0000 (15:16 -0400)
This is grubby, but all the ata drivers do it this way.

Would it not be better to do

#define ata_scsi_device_resume NULL

in libata.h, remove all those ifdefs?

(updated version, ug, ug)

Cc: Jeff Garzik <jeff@garzik.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Tejun Heo <htejun@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

No differences found