aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2008-04-09 13:34:40 +1000
committerJeff Garzik <jgarzik@redhat.com>2008-04-17 15:44:25 -0400
commite50e3ce5e70e36e6069a8cc8292df76058fa9e23 (patch)
treebfff8eb16da5f22bb993ff7a38de6a823ad1bcc9
parent88fcd5627563722483427a55113c0a83f56e8080 (diff)
pata_scc: fix build breakage
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>
-rw-r--r--drivers/ata/pata_scc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_scc.c b/drivers/ata/pata_scc.c
index accc275e74c..7bdea8a4ca7 100644
--- a/drivers/ata/pata_scc.c
+++ b/drivers/ata/pata_scc.c
@@ -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;
}