diff options
author | Alan <alan@lxorguk.ukuu.org.uk> | 2007-01-24 06:47:07 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-01-24 19:55:16 -0500 |
commit | b229a7b0aed808f2ef6a5e9dbf78b0f17cefb4d0 (patch) | |
tree | 2333566c51f5eabc6c1a638155d8efaa6ebd64b5 /include | |
parent | a52865c239b1bc4f62e387509b1ad3415e476ee5 (diff) |
libata: set_mode, Fix the FIXME
When set_mode() changed ->set_mode didn't adapt. This makes the needed
changes and removes the relevant FIXME case.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/libata.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index f7f268e38749..df76fc467816 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -612,11 +612,11 @@ struct ata_port_operations { | |||
612 | void (*dev_select)(struct ata_port *ap, unsigned int device); | 612 | void (*dev_select)(struct ata_port *ap, unsigned int device); |
613 | 613 | ||
614 | void (*phy_reset) (struct ata_port *ap); /* obsolete */ | 614 | void (*phy_reset) (struct ata_port *ap); /* obsolete */ |
615 | void (*set_mode) (struct ata_port *ap); | 615 | int (*set_mode) (struct ata_port *ap, struct ata_device **r_failed_dev); |
616 | 616 | ||
617 | void (*post_set_mode) (struct ata_port *ap); | 617 | void (*post_set_mode) (struct ata_port *ap); |
618 | 618 | ||
619 | int (*check_atapi_dma) (struct ata_queued_cmd *qc); | 619 | int (*check_atapi_dma) (struct ata_queued_cmd *qc); |
620 | 620 | ||
621 | void (*bmdma_setup) (struct ata_queued_cmd *qc); | 621 | void (*bmdma_setup) (struct ata_queued_cmd *qc); |
622 | void (*bmdma_start) (struct ata_queued_cmd *qc); | 622 | void (*bmdma_start) (struct ata_queued_cmd *qc); |