You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
ide: move ack_intr() method into 'struct ide_port_ops' (take 2)
Move the ack_intr() method into 'struct ide_port_ops', also renaming it to test_irq() while at it... Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
committed by
Bartlomiej Zolnierkiewicz
parent
eba8999cef
commit
f4d3ffa52a
@@ -804,7 +804,8 @@ irqreturn_t ide_intr (int irq, void *dev_id)
|
||||
|
||||
spin_lock_irqsave(&hwif->lock, flags);
|
||||
|
||||
if (hwif->ack_intr && hwif->ack_intr(hwif) == 0)
|
||||
if (hwif->port_ops && hwif->port_ops->test_irq &&
|
||||
hwif->port_ops->test_irq(hwif) == 0)
|
||||
goto out;
|
||||
|
||||
handler = hwif->handler;
|
||||
|
||||
Reference in New Issue
Block a user