Commit:     8e2840e06d7da7ae17b1fbc416155a40b22e00ad
Parent:     d85714d81cc0408daddb68c10f7fd69eafe7c213
Author:     Tejun Heo <[EMAIL PROTECTED]>
AuthorDate: Wed Oct 17 15:24:16 2007 +0900
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Wed Oct 17 20:48:30 2007 -0400

    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 <[EMAIL PROTECTED]>
    Cc: Avuton Olrich <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
 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 5d3920f..0f6f7bc 100644
--- a/drivers/ata/pata_acpi.c
+++ b/drivers/ata/pata_acpi.c
@@ -370,8 +370,10 @@ static struct pci_driver pacpi_pci_driver = {
        .id_table               = pacpi_pci_tbl,
        .probe                  = pacpi_init_one,
        .remove                 = ata_pci_remove_one,
+#ifdef CONFIG_PM
        .suspend                = ata_pci_device_suspend,
        .resume                 = ata_pci_device_resume,
 static int __init pacpi_init(void)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to