projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
310c8c3
)
[PATCH] parport: daisy chain device id reading fix
author
Marko Kohtala
<marko.kohtala@gmail.com>
Fri, 6 Jan 2006 08:19:46 +0000
(
00:19
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:57 +0000
(08:33 -0800)
Device ID reading from daisy chain devices failed because the daisy
device could not be opened.
Signed-off-by: Marko Kohtala <marko.kohtala@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/parport/daisy.c
patch
|
blob
|
history
diff --git
a/drivers/parport/daisy.c
b/drivers/parport/daisy.c
index
6915114
..
37dc179
100644
(file)
--- a/
drivers/parport/daisy.c
+++ b/
drivers/parport/daisy.c
@@
-252,7
+252,7
@@
struct pardevice *parport_open (int devnum, const char *name,
selected = port->daisy;
parport_release (dev);
- if (selected !=
port->
daisy) {
+ if (selected != daisy) {
/* No corresponding device. */
parport_unregister_device (dev);
return NULL;