diff options
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/pata_acpi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/pata_acpi.c b/drivers/ata/pata_acpi.c index 5d3920f6fd69..0f6f7bcc3def 100644 --- a/drivers/ata/pata_acpi.c +++ b/drivers/ata/pata_acpi.c | |||
@@ -370,8 +370,10 @@ static struct pci_driver pacpi_pci_driver = { | |||
370 | .id_table = pacpi_pci_tbl, | 370 | .id_table = pacpi_pci_tbl, |
371 | .probe = pacpi_init_one, | 371 | .probe = pacpi_init_one, |
372 | .remove = ata_pci_remove_one, | 372 | .remove = ata_pci_remove_one, |
373 | #ifdef CONFIG_PM | ||
373 | .suspend = ata_pci_device_suspend, | 374 | .suspend = ata_pci_device_suspend, |
374 | .resume = ata_pci_device_resume, | 375 | .resume = ata_pci_device_resume, |
376 | #endif | ||
375 | }; | 377 | }; |
376 | 378 | ||
377 | static int __init pacpi_init(void) | 379 | static int __init pacpi_init(void) |