diff options
Diffstat (limited to 'drivers/ata/sata_sil24.c')
-rw-r--r-- | drivers/ata/sata_sil24.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/ata/sata_sil24.c b/drivers/ata/sata_sil24.c index 79952f825b40..51a7c06803df 100644 --- a/drivers/ata/sata_sil24.c +++ b/drivers/ata/sata_sil24.c | |||
@@ -344,7 +344,6 @@ static void sil24_dev_config(struct ata_device *dev); | |||
344 | static u8 sil24_check_status(struct ata_port *ap); | 344 | static u8 sil24_check_status(struct ata_port *ap); |
345 | static int sil24_scr_read(struct ata_port *ap, unsigned sc_reg, u32 *val); | 345 | static int sil24_scr_read(struct ata_port *ap, unsigned sc_reg, u32 *val); |
346 | static int sil24_scr_write(struct ata_port *ap, unsigned sc_reg, u32 val); | 346 | static int sil24_scr_write(struct ata_port *ap, unsigned sc_reg, u32 val); |
347 | static void sil24_tf_read(struct ata_port *ap, struct ata_taskfile *tf); | ||
348 | static int sil24_qc_defer(struct ata_queued_cmd *qc); | 347 | static int sil24_qc_defer(struct ata_queued_cmd *qc); |
349 | static void sil24_qc_prep(struct ata_queued_cmd *qc); | 348 | static void sil24_qc_prep(struct ata_queued_cmd *qc); |
350 | static unsigned int sil24_qc_issue(struct ata_queued_cmd *qc); | 349 | static unsigned int sil24_qc_issue(struct ata_queued_cmd *qc); |
@@ -404,7 +403,6 @@ static struct ata_port_operations sil24_ops = { | |||
404 | 403 | ||
405 | .sff_check_status = sil24_check_status, | 404 | .sff_check_status = sil24_check_status, |
406 | .sff_check_altstatus = sil24_check_status, | 405 | .sff_check_altstatus = sil24_check_status, |
407 | .sff_tf_read = sil24_tf_read, | ||
408 | .qc_defer = sil24_qc_defer, | 406 | .qc_defer = sil24_qc_defer, |
409 | .qc_prep = sil24_qc_prep, | 407 | .qc_prep = sil24_qc_prep, |
410 | .qc_issue = sil24_qc_issue, | 408 | .qc_issue = sil24_qc_issue, |
@@ -533,12 +531,6 @@ static int sil24_scr_write(struct ata_port *ap, unsigned sc_reg, u32 val) | |||
533 | return -EINVAL; | 531 | return -EINVAL; |
534 | } | 532 | } |
535 | 533 | ||
536 | static void sil24_tf_read(struct ata_port *ap, struct ata_taskfile *tf) | ||
537 | { | ||
538 | struct sil24_port_priv *pp = ap->private_data; | ||
539 | *tf = pp->tf; | ||
540 | } | ||
541 | |||
542 | static void sil24_config_port(struct ata_port *ap) | 534 | static void sil24_config_port(struct ata_port *ap) |
543 | { | 535 | { |
544 | void __iomem *port = ap->ioaddr.cmd_addr; | 536 | void __iomem *port = ap->ioaddr.cmd_addr; |