Skip to content

Commit

Permalink
pata_scc had been missed by ata_std_prereset() switch
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Al Viro authored and Jeff Garzik committed May 16, 2007
1 parent 7b104bc commit d1c68fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/ata/pata_scc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit d1c68fa

Please sign in to comment.