diff options
Diffstat (limited to 'drivers/ata/pata_artop.c')
-rw-r--r-- | drivers/ata/pata_artop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_artop.c b/drivers/ata/pata_artop.c index 3aa4e655e3c6..96c05c9494fa 100644 --- a/drivers/ata/pata_artop.c +++ b/drivers/ata/pata_artop.c | |||
@@ -422,7 +422,7 @@ static const struct pci_device_id artop_pci_tbl[] = { | |||
422 | { } /* terminate list */ | 422 | { } /* terminate list */ |
423 | }; | 423 | }; |
424 | 424 | ||
425 | #ifdef CONFIG_PM | 425 | #ifdef CONFIG_PM_SLEEP |
426 | static int atp8xx_reinit_one(struct pci_dev *pdev) | 426 | static int atp8xx_reinit_one(struct pci_dev *pdev) |
427 | { | 427 | { |
428 | struct ata_host *host = pci_get_drvdata(pdev); | 428 | struct ata_host *host = pci_get_drvdata(pdev); |
@@ -444,7 +444,7 @@ static struct pci_driver artop_pci_driver = { | |||
444 | .id_table = artop_pci_tbl, | 444 | .id_table = artop_pci_tbl, |
445 | .probe = artop_init_one, | 445 | .probe = artop_init_one, |
446 | .remove = ata_pci_remove_one, | 446 | .remove = ata_pci_remove_one, |
447 | #ifdef CONFIG_PM | 447 | #ifdef CONFIG_PM_SLEEP |
448 | .suspend = ata_pci_device_suspend, | 448 | .suspend = ata_pci_device_suspend, |
449 | .resume = atp8xx_reinit_one, | 449 | .resume = atp8xx_reinit_one, |
450 | #endif | 450 | #endif |