projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
015953d
)
[PATCH] Input: fix 'uniq' reporting in hotplug handler
author
Dmitry Torokhov
<dtor_core@ameritech.net>
Wed, 9 Nov 2005 05:34:29 +0000
(21:34 -0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:55:50 +0000
(07:55 -0800)
Input: fix 'uniq' reporting in hotplug handler
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/input/input.c
patch
|
blob
|
history
diff --git
a/drivers/input/input.c
b/drivers/input/input.c
index 0879915b14d5af21ec6a4ed0f3383962a595bc2c..c8ae2bb054e026c4e4e2cf44214c26316737f0dc 100644
(file)
--- a/
drivers/input/input.c
+++ b/
drivers/input/input.c
@@
-669,7
+669,7
@@
static int input_dev_hotplug(struct class_device *cdev, char **envp,
INPUT_ADD_HOTPLUG_VAR("NAME=\"%s\"", dev->name);
if (dev->phys)
INPUT_ADD_HOTPLUG_VAR("PHYS=\"%s\"", dev->phys);
- if (dev->
phys
)
+ if (dev->
uniq
)
INPUT_ADD_HOTPLUG_VAR("UNIQ=\"%s\"", dev->uniq);
INPUT_ADD_HOTPLUG_BM_VAR("EV=", dev->evbit, EV_MAX);