From patchwork Sat Jan 9 12:56:03 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?TsODwqltZXRoIE3Dg8KhcnRvbg==?= X-Patchwork-Id: 71916 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o09CvRRr024761 for ; Sat, 9 Jan 2010 12:57:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752410Ab0AIM4Z (ORCPT ); Sat, 9 Jan 2010 07:56:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753600Ab0AIM4X (ORCPT ); Sat, 9 Jan 2010 07:56:23 -0500 Received: from mail02d.mail.t-online.hu ([84.2.42.7]:50270 "EHLO mail02d.mail.t-online.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752497Ab0AIM4L (ORCPT ); Sat, 9 Jan 2010 07:56:11 -0500 X-Authuid: nmarci Received: from [192.168.1.64] (dsl5402C42F.pool.t-online.hu [84.2.196.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail02d.mail.t-online.hu (Postfix) with ESMTPSA id 2E330758E68; Sat, 9 Jan 2010 13:54:31 +0100 (CET) Message-ID: <4B487CE3.5000500@freemail.hu> Date: Sat, 09 Jan 2010 13:56:03 +0100 From: =?UTF-8?B?TsOpbWV0aCBNw6FydG9u?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; hu-HU; rv:1.8.1.21) Gecko/20090402 SeaMonkey/1.1.16 MIME-Version: 1.0 To: Dmitry Torokhov CC: linux-input@vger.kernel.org, LKML Subject: [PATCH 3/5] input: make PCI device id constant X-DCC-mail.t-online.hu-Metrics: mail02d.mail.t-online.hu 32711; Body=3 Fuz1=3 Fuz2=3 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org diff -u -p a/drivers/input/serio/pcips2.c b/drivers/input/serio/pcips2.c --- a/drivers/input/serio/pcips2.c 2009-12-03 04:51:21.000000000 +0100 +++ b/drivers/input/serio/pcips2.c 2010-01-08 19:12:05.000000000 +0100 @@ -186,7 +186,7 @@ static void __devexit pcips2_remove(stru pci_disable_device(dev); } -static struct pci_device_id pcips2_ids[] = { +static const struct pci_device_id pcips2_ids[] = { { .vendor = 0x14f2, /* MOBILITY */ .device = 0x0123, /* Keyboard */ diff -u -p a/drivers/input/gameport/fm801-gp.c b/drivers/input/gameport/fm801-gp.c --- a/drivers/input/gameport/fm801-gp.c 2009-12-03 04:51:21.000000000 +0100 +++ b/drivers/input/gameport/fm801-gp.c 2010-01-08 19:22:57.000000000 +0100 @@ -140,7 +140,7 @@ static void __devexit fm801_gp_remove(st } } -static struct pci_device_id fm801_gp_id_table[] = { +static const struct pci_device_id fm801_gp_id_table[] = { { PCI_VENDOR_ID_FORTEMEDIA, PCI_DEVICE_ID_FM801_GP, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { 0 } }; diff -u -p a/drivers/input/gameport/emu10k1-gp.c b/drivers/input/gameport/emu10k1-gp.c --- a/drivers/input/gameport/emu10k1-gp.c 2009-12-03 04:51:21.000000000 +0100 +++ b/drivers/input/gameport/emu10k1-gp.c 2010-01-08 19:23:20.000000000 +0100 @@ -46,7 +46,7 @@ struct emu { int size; }; -static struct pci_device_id emu_tbl[] = { +static const struct pci_device_id emu_tbl[] = { { 0x1102, 0x7002, PCI_ANY_ID, PCI_ANY_ID }, /* SB Live gameport */ { 0x1102, 0x7003, PCI_ANY_ID, PCI_ANY_ID }, /* Audigy gameport */