diff options
Diffstat (limited to 'include/linux/libata.h')
| -rw-r--r-- | include/linux/libata.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 202283b5df96..ab2754830322 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
| @@ -575,8 +575,9 @@ struct ata_port { | |||
| 575 | struct ata_host *host; | 575 | struct ata_host *host; |
| 576 | struct device *dev; | 576 | struct device *dev; |
| 577 | 577 | ||
| 578 | struct work_struct port_task; | 578 | void *port_task_data; |
| 579 | struct work_struct hotplug_task; | 579 | struct delayed_work port_task; |
| 580 | struct delayed_work hotplug_task; | ||
| 580 | struct work_struct scsi_rescan_task; | 581 | struct work_struct scsi_rescan_task; |
| 581 | 582 | ||
| 582 | unsigned int hsm_task_state; | 583 | unsigned int hsm_task_state; |
| @@ -755,7 +756,7 @@ extern void ata_host_resume(struct ata_host *host); | |||
| 755 | extern int ata_ratelimit(void); | 756 | extern int ata_ratelimit(void); |
| 756 | extern int ata_busy_sleep(struct ata_port *ap, | 757 | extern int ata_busy_sleep(struct ata_port *ap, |
| 757 | unsigned long timeout_pat, unsigned long timeout); | 758 | unsigned long timeout_pat, unsigned long timeout); |
| 758 | extern void ata_port_queue_task(struct ata_port *ap, void (*fn)(void *), | 759 | extern void ata_port_queue_task(struct ata_port *ap, work_func_t fn, |
| 759 | void *data, unsigned long delay); | 760 | void *data, unsigned long delay); |
| 760 | extern u32 ata_wait_register(void __iomem *reg, u32 mask, u32 val, | 761 | extern u32 ata_wait_register(void __iomem *reg, u32 mask, u32 val, |
| 761 | unsigned long interval_msec, | 762 | unsigned long interval_msec, |
