diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-11-08 07:46:02 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-11-08 07:46:02 -0500 |
commit | 68ff6e8e0e203580ecb118319b5a3b53962edf5a (patch) | |
tree | 9150b1c0c12a8a05012dc10c1cd2a5ca232e2740 /drivers/ata/sata_via.c | |
parent | 80c218812786f619c9a1ce50d0e7c32c7afde4de (diff) |
[libata] sata_via: fix obvious typo
Spotted by Martin Devera.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/sata_via.c')
-rw-r--r-- | drivers/ata/sata_via.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_via.c b/drivers/ata/sata_via.c index f4455a1efe2d..1c7f19aecc25 100644 --- a/drivers/ata/sata_via.c +++ b/drivers/ata/sata_via.c | |||
@@ -230,7 +230,7 @@ static int vt6420_prereset(struct ata_port *ap) | |||
230 | int online; | 230 | int online; |
231 | 231 | ||
232 | /* don't do any SCR stuff if we're not loading */ | 232 | /* don't do any SCR stuff if we're not loading */ |
233 | if (!ATA_PFLAG_LOADING) | 233 | if (!(ap->pflags & ATA_PFLAG_LOADING)) |
234 | goto skip_scr; | 234 | goto skip_scr; |
235 | 235 | ||
236 | /* Resume phy. This is the old resume sequence from | 236 | /* Resume phy. This is the old resume sequence from |