All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Input: fix 'uniq' reporting in hotplug handler
@ 2005-11-08  6:44 Dmitry Torokhov
  0 siblings, 0 replies; only message in thread
From: Dmitry Torokhov @ 2005-11-08  6:44 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Vojtech Pavlik, Andrew Morton, Greg KH, LKML

Input: fix 'uniq' reporting in hotplug handler

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
---

 drivers/input/input.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: work/drivers/input/input.c
===================================================================
--- work.orig/drivers/input/input.c
+++ work/drivers/input/input.c
@@ -669,7 +669,7 @@ static int input_dev_hotplug(struct clas
 		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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-08  6:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-08  6:44 [PATCH] Input: fix 'uniq' reporting in hotplug handler Dmitry Torokhov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.