projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0397bad
)
Fix pata_qdi.c probe code
author
Samuel Thibault
<samuel.thibault@ens-lyon.org>
Thu, 3 May 2007 09:30:25 +0000
(11:30 +0200)
committer
Jeff Garzik
<jeff@garzik.org>
Thu, 10 May 2007 00:15:47 +0000
(20:15 -0400)
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>
drivers/ata/pata_qdi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/pata_qdi.c
b/drivers/ata/pata_qdi.c
index 27685ce63ceb27a92f8780c6c1c6aca48aa5745d..fb8c9e14b8d48d808740739df9772b044ade57ad 100644
(file)
--- 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 */