From patchwork Tue Nov 2 15:23:08 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guy Martin X-Patchwork-Id: 297632 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oA2FTP3x025416 for ; Tue, 2 Nov 2010 15:29:59 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753641Ab0KBP37 (ORCPT ); Tue, 2 Nov 2010 11:29:59 -0400 Received: from silke.schedom-europe.net ([193.109.184.88]:46396 "EHLO silke.schedom-europe.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751176Ab0KBP36 (ORCPT ); Tue, 2 Nov 2010 11:29:58 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 02 Nov 2010 15:29:59 +0000 (UTC) X-Greylist: delayed 399 seconds by postgrey-1.27 at vger.kernel.org; Tue, 02 Nov 2010 11:29:58 EDT Received: (qmail 9441 invoked by uid 507); 2 Nov 2010 16:23:17 +0100 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on silke.schedom-europe.net X-Spam-Level: *********** X-Spam-Status: No, score=11.2 required=15.0 tests=BAYES_99, FH_DATE_PAST_20XX, RCVD_IN_PBL,RDNS_DYNAMIC autolearn=disabled version=3.2.5 Received: from ip115.dyn1.liege.schedom-europe.net (HELO ibiza.bxl.tuxicoman.be) (83.101.5.115) by silke.schedom-europe.net with SMTP; 2 Nov 2010 16:23:10 +0100 Received: from borg.bxl.tuxicoman.be ([2001:6f8:310:301::1]) by ibiza.bxl.tuxicoman.be with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1PDIhY-0001Mo-BP for linux-parisc@vger.kernel.org; Tue, 02 Nov 2010 16:23:08 +0100 Date: Tue, 2 Nov 2010 16:23:08 +0100 From: Guy Martin To: linux-parisc@vger.kernel.org Subject: [PATCH] parisc : Fix GSC PS/2 driver name for keyboard and mouse Message-ID: <20101102162308.6dbe1cbf@borg.bxl.tuxicoman.be> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org --- 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;