diff mbox

parisc : Fix GSC PS/2 driver name for keyboard and mouse

Message ID 20101102162308.6dbe1cbf@borg.bxl.tuxicoman.be (mailing list archive)
State Accepted
Headers show

Commit Message

Guy Martin Nov. 2, 2010, 3:23 p.m. UTC
None
diff mbox

Patch

--- 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;