mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
[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>
This commit is contained in:
parent
015953d706
commit
08de1f0461
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue