Input: fix 'uniq' reporting in hotplug handler
PATCH 1/1 Input: fix 'uniq' reporting in hotplug handler
Input: fix 'uniq' reporting in hotplug handler
Signed-off-by Dmitry Torokhov <[email protected]>
---
drivers/input/input.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/input/input.c +1 -1
@@ -669,7 +669,7 @@ static int input_dev_hotplug(struct clasINPUT_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 );