drivers/ata/pata_cmd640.c: fix build with CONFIG_PM=n
authorAndrew Morton <[email protected]>
Thu, 26 Apr 2007 07:19:26 +0000 (00:19 -0700)
committerJeff Garzik <[email protected]>
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 <[email protected]>
Cc: Alan Cox <[email protected]>
Cc: Tejun Heo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
drivers/ata/pata_cmd640.c