diff options
author | Dmitry Torokhov <dtor_core@ameritech.net> | 2005-11-09 00:34:29 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 10:55:50 -0500 |
commit | 08de1f0461ad40136e7373cf85e2f3c221a9ad9a (patch) | |
tree | 405eef369e4fd168ded38bcaca770d55397a5de1 /drivers/input/input.c | |
parent | 015953d706b1b7ad61c37fe329042828a0f3b0f6 (diff) |
[PATCH] Input: fix 'uniq' reporting in hotplug handler
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>
Diffstat (limited to 'drivers/input/input.c')
-rw-r--r-- | drivers/input/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c index 0879915b14d5..c8ae2bb054e0 100644 --- 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, | |||
669 | INPUT_ADD_HOTPLUG_VAR("NAME=\"%s\"", dev->name); | 669 | INPUT_ADD_HOTPLUG_VAR("NAME=\"%s\"", dev->name); |
670 | if (dev->phys) | 670 | if (dev->phys) |
671 | INPUT_ADD_HOTPLUG_VAR("PHYS=\"%s\"", dev->phys); | 671 | INPUT_ADD_HOTPLUG_VAR("PHYS=\"%s\"", dev->phys); |
672 | if (dev->phys) | 672 | if (dev->uniq) |
673 | INPUT_ADD_HOTPLUG_VAR("UNIQ=\"%s\"", dev->uniq); | 673 | INPUT_ADD_HOTPLUG_VAR("UNIQ=\"%s\"", dev->uniq); |
674 | 674 | ||
675 | INPUT_ADD_HOTPLUG_BM_VAR("EV=", dev->evbit, EV_MAX); | 675 | INPUT_ADD_HOTPLUG_BM_VAR("EV=", dev->evbit, EV_MAX); |