diff options
Diffstat (limited to 'drivers/scsi/libata-scsi.c')
-rw-r--r-- | drivers/scsi/libata-scsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c index a1259b242b8e..1fd3826da97e 100644 --- a/drivers/scsi/libata-scsi.c +++ b/drivers/scsi/libata-scsi.c | |||
@@ -414,12 +414,12 @@ int ata_scsi_device_resume(struct scsi_device *sdev) | |||
414 | return ata_device_resume(ap, dev); | 414 | return ata_device_resume(ap, dev); |
415 | } | 415 | } |
416 | 416 | ||
417 | int ata_scsi_device_suspend(struct scsi_device *sdev) | 417 | int ata_scsi_device_suspend(struct scsi_device *sdev, pm_message_t state) |
418 | { | 418 | { |
419 | struct ata_port *ap = (struct ata_port *) &sdev->host->hostdata[0]; | 419 | struct ata_port *ap = (struct ata_port *) &sdev->host->hostdata[0]; |
420 | struct ata_device *dev = &ap->device[sdev->id]; | 420 | struct ata_device *dev = &ap->device[sdev->id]; |
421 | 421 | ||
422 | return ata_device_suspend(ap, dev); | 422 | return ata_device_suspend(ap, dev, state); |
423 | } | 423 | } |
424 | 424 | ||
425 | /** | 425 | /** |