diff options
author | Tejun Heo <tj@kernel.org> | 2010-05-10 15:41:36 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-05-19 13:35:44 -0400 |
commit | 8244cd05979ef924787aa70fd80304f1773976a1 (patch) | |
tree | 1e6f2434807eb3adbc097b3f4d7a4240237bc105 /include/linux/libata.h | |
parent | 270390e1ae1818b111543b8bfffa08095d73c1a5 (diff) |
libata-sff: rename ap->ops->drain_fifo() to sff_drain_fifo()
->drain_fifo() is SFF specific. Rename and relocate it.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 45a547e42d47..19f716edd3be 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -856,13 +856,12 @@ struct ata_port_operations { | |||
856 | void (*sff_irq_on)(struct ata_port *); | 856 | void (*sff_irq_on)(struct ata_port *); |
857 | bool (*sff_irq_check)(struct ata_port *); | 857 | bool (*sff_irq_check)(struct ata_port *); |
858 | void (*sff_irq_clear)(struct ata_port *); | 858 | void (*sff_irq_clear)(struct ata_port *); |
859 | void (*sff_drain_fifo)(struct ata_queued_cmd *qc); | ||
859 | 860 | ||
860 | void (*bmdma_setup)(struct ata_queued_cmd *qc); | 861 | void (*bmdma_setup)(struct ata_queued_cmd *qc); |
861 | void (*bmdma_start)(struct ata_queued_cmd *qc); | 862 | void (*bmdma_start)(struct ata_queued_cmd *qc); |
862 | void (*bmdma_stop)(struct ata_queued_cmd *qc); | 863 | void (*bmdma_stop)(struct ata_queued_cmd *qc); |
863 | u8 (*bmdma_status)(struct ata_port *ap); | 864 | u8 (*bmdma_status)(struct ata_port *ap); |
864 | |||
865 | void (*drain_fifo)(struct ata_queued_cmd *qc); | ||
866 | #endif /* CONFIG_ATA_SFF */ | 865 | #endif /* CONFIG_ATA_SFF */ |
867 | 866 | ||
868 | ssize_t (*em_show)(struct ata_port *ap, char *buf); | 867 | ssize_t (*em_show)(struct ata_port *ap, char *buf); |