pata_scc had been missed by ata_std_prereset() switch

Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
This commit is contained in:
Al Viro 2007-05-15 08:21:17 +01:00 • committed by Jeff Garzik
commit d1c68fa6ce

View file

@ -864,10 +864,10 @@ static void scc_bmdma_freeze (struct ata_port *ap)
* @ap: ATA port to be reset
*/
static int scc_pata_prereset (struct ata_port *ap)
static int scc_pata_prereset (struct ata_port *ap, unsigned long deadline)
{
ap->cbl = ATA_CBL_PATA80;
return ata_std_prereset(ap);
return ata_std_prereset(ap, deadline);
}
/**