aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
authorAlan Cox <alan@redhat.com>2007-03-09 09:34:07 -0500
committerJeff Garzik <jeff@garzik.org>2007-04-28 14:15:58 -0400
commita76b62ca70662cd0ca98edf366c6637009a95f7d (patch)
tree1f93b3bec4a77ed3146a1d9de29140c525b35479 /drivers/ata/libata-core.c
parent9d2c7c75f889a3eefad016c71f651b0796e0a6e9 (diff)
libata: Change prototype of mode_filter to remove ata_port*
With Tejun having added adev->ap some time ago we can get rid of the almost unused port being passed to mode filters. And while we are doing filters, lets turn on the !IORDY filter as well. Signed-off-by: Alan Cox <alan@redhat.com> With some hand massaging from Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r--drivers/ata/libata-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index d01bb5d50fc..eaab6d925ef 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -3545,7 +3545,7 @@ static void ata_dev_xfermask(struct ata_device *dev)
3545 } 3545 }
3546 3546
3547 if (ap->ops->mode_filter) 3547 if (ap->ops->mode_filter)
3548 xfer_mask = ap->ops->mode_filter(ap, dev, xfer_mask); 3548 xfer_mask = ap->ops->mode_filter(dev, xfer_mask);
3549 3549
3550 /* Apply cable rule here. Don't apply it early because when 3550 /* Apply cable rule here. Don't apply it early because when
3551 * we handle hot plug the cable type can itself change. 3551 * we handle hot plug the cable type can itself change.