Message ID | 20101102162308.6dbe1cbf@borg.bxl.tuxicoman.be (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
--- drivers/input/serio/gscps2.c.orig 2010-11-01 09:54:50.000000000 +0100 +++ drivers/input/serio/gscps2.c 2010-11-01 09:55:53.000000000 +0100 @@ -358,7 +358,7 @@ gscps2_reset(ps2port); ps2port->id = readb(ps2port->addr + GSC_ID) & 0x0f; - snprintf(serio->name, sizeof(serio->name), "GSC PS/2 %s", + snprintf(serio->name, sizeof(serio->name), "gsc-ps2-%s", (ps2port->id == GSC_ID_KEYBOARD) ? "keyboard" : "mouse"); strlcpy(serio->phys, dev_name(&dev->dev), sizeof(serio->phys)); serio->id.type = SERIO_8042;