|
@@ -5373,6 +5373,8 @@ struct ata_port *ata_port_alloc(struct ata_host *host)
|
|
|
|
|
|
#ifdef CONFIG_ATA_SFF
|
|
#ifdef CONFIG_ATA_SFF
|
|
INIT_DELAYED_WORK(&ap->port_task, ata_pio_task);
|
|
INIT_DELAYED_WORK(&ap->port_task, ata_pio_task);
|
|
|
|
+#else
|
|
|
|
+ INIT_DELAYED_WORK(&ap->port_task, NULL);
|
|
#endif
|
|
#endif
|
|
INIT_DELAYED_WORK(&ap->hotplug_task, ata_scsi_hotplug);
|
|
INIT_DELAYED_WORK(&ap->hotplug_task, ata_scsi_hotplug);
|
|
INIT_WORK(&ap->scsi_rescan_task, ata_scsi_dev_rescan);
|
|
INIT_WORK(&ap->scsi_rescan_task, ata_scsi_dev_rescan);
|