aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_sil680.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_sil680.c')
-rw-r--r--drivers/ata/pata_sil680.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_sil680.c b/drivers/ata/pata_sil680.c
index 73fe362d9716..f597edccedec 100644
--- a/drivers/ata/pata_sil680.c
+++ b/drivers/ata/pata_sil680.c
@@ -403,7 +403,7 @@ use_ioports:
403 return ata_pci_bmdma_init_one(pdev, ppi, &sil680_sht, NULL, 0); 403 return ata_pci_bmdma_init_one(pdev, ppi, &sil680_sht, NULL, 0);
404} 404}
405 405
406#ifdef CONFIG_PM 406#ifdef CONFIG_PM_SLEEP
407static int sil680_reinit_one(struct pci_dev *pdev) 407static int sil680_reinit_one(struct pci_dev *pdev)
408{ 408{
409 struct ata_host *host = pci_get_drvdata(pdev); 409 struct ata_host *host = pci_get_drvdata(pdev);
@@ -429,7 +429,7 @@ static struct pci_driver sil680_pci_driver = {
429 .id_table = sil680, 429 .id_table = sil680,
430 .probe = sil680_init_one, 430 .probe = sil680_init_one,
431 .remove = ata_pci_remove_one, 431 .remove = ata_pci_remove_one,
432#ifdef CONFIG_PM 432#ifdef CONFIG_PM_SLEEP
433 .suspend = ata_pci_device_suspend, 433 .suspend = ata_pci_device_suspend,
434 .resume = sil680_reinit_one, 434 .resume = sil680_reinit_one,
435#endif 435#endif