X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fata%2Fpata_opti.c;h=3a944a029264a4d224bd93e1ca9cc1a16491fe67;hb=eb7813466eecb53842447da98a98c3132a80ba65;hp=4ea70cd22aee8fc70a75f9bfb5696122fee2bd32;hpb=89a897fbd8c181bfbf814b84fcdce1cd80a3a388;p=karo-tx-linux.git diff --git a/drivers/ata/pata_opti.c b/drivers/ata/pata_opti.c index 4ea70cd22aee..3a944a029264 100644 --- a/drivers/ata/pata_opti.c +++ b/drivers/ata/pata_opti.c @@ -26,7 +26,6 @@ #include #include #include -#include #include #include #include @@ -185,7 +184,7 @@ static struct pci_driver opti_pci_driver = { .id_table = opti, .probe = opti_init_one, .remove = ata_pci_remove_one, -#ifdef CONFIG_PM +#ifdef CONFIG_PM_SLEEP .suspend = ata_pci_device_suspend, .resume = ata_pci_device_resume, #endif