Skip to content

Commit

Permalink
pata_scc: fix build breakage
Browse files Browse the repository at this point in the history
drivers/ata/pata_scc.c: In function 'scc_bus_softreset':
drivers/ata/pata_scc.c:594: error: 'deadlien' undeclared (first use in this function)
drivers/ata/pata_scc.c:594: error: (Each undeclared identifier is reported only once
drivers/ata/pata_scc.c:594: error: for each function it appears in.)

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Stephen Rothwell authored and Jeff Garzik committed Apr 17, 2008
1 parent 88fcd56 commit e50e3ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/pata_scc.c
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ static unsigned int scc_bus_softreset(struct ata_port *ap, unsigned int devmask,
udelay(20);
out_be32(ioaddr->ctl_addr, ap->ctl);

scc_wait_after_reset(&ap->link, devmask, deadlien);
scc_wait_after_reset(&ap->link, devmask, deadline);

return 0;
}
Expand Down

0 comments on commit e50e3ce

Please sign in to comment.