]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/ata/pata_cs5535.c
ENGR00301869-1 iio: adc: Enable i.MX6SX adc driver.
[karo-tx-linux.git] / drivers / ata / pata_cs5535.c
index 997e16a3a63f6154373d33854fed1c1532ee657f..97584e8456d9a8f91b279e358392dd55490650b9 100644 (file)
@@ -31,7 +31,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>
@@ -201,7 +200,7 @@ static struct pci_driver cs5535_pci_driver = {
        .id_table       = cs5535,
        .probe          = cs5535_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