summaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_via.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-01-26 06:57:31 +0100
committerJeff Garzik <jeff@garzik.org>2007-01-26 23:24:07 +0100
commitd02598721706ab62a574823479b1f6c26c8980d2 (patch)
treec1cd484df805f2b80a9779665217dd3e9ca38198 /drivers/ata/sata_via.c
parentahci: fix endianness in spurious interrupt message (diff)
downloadlinux-d02598721706ab62a574823479b1f6c26c8980d2.tar.xz
linux-d02598721706ab62a574823479b1f6c26c8980d2.zip
sata_via: style clean up, no indirect method call in LLD
Call ata_bmdma_irq_clear() directly instead of through ap->ops->irq_clear() according to libata style guideline. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to '')
-rw-r--r--drivers/ata/sata_via.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_via.c b/drivers/ata/sata_via.c
index 55b01236a6f0..d3d5c0d57032 100644
--- a/drivers/ata/sata_via.c
+++ b/drivers/ata/sata_via.c
@@ -211,7 +211,7 @@ static void svia_noop_freeze(struct ata_port *ap)
* certain way. Leave it alone and just clear pending IRQ.
*/
ata_chk_status(ap);
- ap->ops->irq_clear(ap);
+ ata_bmdma_irq_clear(ap);
}
/**