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)
commit4b22afd743a3882123a16135fa863558c0ac2d94
tree1d6c244f112c9faeb19021c87d46c00df7f1ae84
parenta473446856374668c4296db5256ca708ce8f7095
drivers/ata/pata_cmd640.c: fix build with CONFIG_PM=n

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>
drivers/ata/pata_cmd640.c