diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2007-05-03 11:30:25 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-05-09 20:15:47 -0400 |
commit | 6878cce57b43b24eee1a4de6d189051c4646b575 (patch) | |
tree | 453ac2809b4222621acbad1e8600f7e2cee4ba5f /drivers/ata | |
parent | 0397bad5b413226b8f55f599b185ab506d13b078 (diff) | |
download | kernel_samsung_smdk4412-6878cce57b43b24eee1a4de6d189051c4646b575.zip kernel_samsung_smdk4412-6878cce57b43b24eee1a4de6d189051c4646b575.tar.gz kernel_samsung_smdk4412-6878cce57b43b24eee1a4de6d189051c4646b575.tar.bz2 |
Fix pata_qdi.c probe code
There is a small typo in the probe code of pata_qdi.c, here is a patch.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/pata_qdi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_qdi.c b/drivers/ata/pata_qdi.c index 27685ce..fb8c9e1 100644 --- a/drivers/ata/pata_qdi.c +++ b/drivers/ata/pata_qdi.c @@ -375,7 +375,7 @@ static __init int qdi_init(void) res = inb(port + 3); if (res & 1) { /* Single channel mode */ - if (qdi_init_one(port, 6580, ide_port[r & 0x01], ide_irq[r & 0x01], r & 0x04)) + if (qdi_init_one(port, 6580, ide_port[r & 0x01], ide_irq[r & 0x01], r & 0x04) == 0) ct++; } else { /* Dual channel mode */ |