projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a860c9
)
pata_cs5520: Fix probe bug regression introduced in 2.6.22
author
Alan Cox
<alan@lxorguk.ukuu.org.uk>
Fri, 20 Jul 2007 14:36:31 +0000
(15:36 +0100)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Fri, 20 Jul 2007 16:08:44 +0000
(09:08 -0700)
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linux Torvalds <torvalds@linux-foundation.org>
drivers/ata/pata_cs5520.c
patch
|
blob
|
history
diff --git
a/drivers/ata/pata_cs5520.c
b/drivers/ata/pata_cs5520.c
index 6bf037d82b5aa9b0a324c37c4c627bc32b38ff27..7dc76e71bd55070b4fc177eae62b3e0c57f8e2eb 100644
(file)
--- a/
drivers/ata/pata_cs5520.c
+++ b/
drivers/ata/pata_cs5520.c
@@
-275,7
+275,7
@@
static int __devinit cs5520_init_one(struct pci_dev *pdev, const struct pci_devi
for (i = 0; i < 2; i++) {
static const int irq[] = { 14, 15 };
- struct ata_port *ap = host->ports[
0
];
+ struct ata_port *ap = host->ports[
i
];
if (ata_port_is_dummy(ap))
continue;