projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c964521
)
[SERIAL] sunsab: Fix significant typo in sab_probe()
author
David S. Miller
<davem@sunset.davemloft.net>
Thu, 13 Jul 2006 23:07:25 +0000
(16:07 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Sat, 15 Jul 2006 00:00:25 +0000
(17:00 -0700)
Instead of initializing both ports of a SAB device
properly, we were setting up the first port
structure twice and ending up only with the second
port, oops.
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/serial/sunsab.c
patch
|
blob
|
history
diff --git
a/drivers/serial/sunsab.c
b/drivers/serial/sunsab.c
index
0dbd4df
..
979497f
100644
(file)
--- a/
drivers/serial/sunsab.c
+++ b/
drivers/serial/sunsab.c
@@
-1052,7
+1052,7
@@
static int __devinit sab_probe(struct of_device *op, const struct of_device_id *
if (err)
return err;
- err = sunsab_init_one(&up[
0
], op, 0,
+ err = sunsab_init_one(&up[
1
], op, 0,
(inst * 2) + 1);
if (err) {
of_iounmap(up[0].port.membase,