aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-10-17 02:24:16 -0400
committerJeff Garzik <jeff@garzik.org>2007-10-17 20:48:30 -0400
commit8e2840e06d7da7ae17b1fbc416155a40b22e00ad (patch)
tree673378cec1faeeebf5ed0e05054c5368849ae999 /drivers
parentd85714d81cc0408daddb68c10f7fd69eafe7c213 (diff)
pata_acpi: fix build breakage if !CONFIG_PM
There are configurations where CONFIG_ACPI but !CONFIG_PM. In this case, pata_acpi can be selected but won't build. Fix it. Reported by Avuton Olrich. Signed-off-by: Tejun Heo <htejun@gmail.com> Cc: Avuton Olrich <avuton@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ata/pata_acpi.c2
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
377static int __init pacpi_init(void) 379static int __init pacpi_init(void)