libata: fix G5 SATA broken on -rc5

Fix G5 SATA irq 18: nobody cared, reported on -rc5 by Olaf Hering:
fixlet to a57c1bade5 libata-sff:
Fix oops reported in kerneloops.org for pnp devices with no ctl

Signed-off-by: Hugh Dickins <[email protected]>
Acked-by: Alan Cox <[email protected]>
Tested-by: Olaf Hering <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Hugh Dickins 2008-06-05 14:44:39 +01:00 • committed by Linus Torvalds
commit 6311c90a9e

View file

@ -278,7 +278,7 @@ static u8 ata_sff_irq_status(struct ata_port *ap)
return status;
}
/* Clear INTRQ latch */
status = ata_sff_check_status(ap);
status = ap->ops->sff_check_status(ap);
return status;
}