]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/ata/pata_opti.c
ENGR00301869-1 iio: adc: Enable i.MX6SX adc driver.
[karo-tx-linux.git] / drivers / ata / pata_opti.c
index 4ea70cd22aee8fc70a75f9bfb5696122fee2bd32..3a944a029264a4d224bd93e1ca9cc1a16491fe67 100644 (file)
@@ -26,7 +26,6 @@
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/pci.h>
-#include <linux/init.h>
 #include <linux/blkdev.h>
 #include <linux/delay.h>
 #include <scsi/scsi_host.h>
@@ -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