From patchwork Sat Jan 9 12:55:56 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: 71924 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 o09D6Sx4026059 for ; Sat, 9 Jan 2010 13:06:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752497Ab0AING5 (ORCPT ); Sat, 9 Jan 2010 08:06:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752561Ab0AING5 (ORCPT ); Sat, 9 Jan 2010 08:06:57 -0500 Received: from mail01d.mail.t-online.hu ([84.2.42.6]:62536 "EHLO mail01d.mail.t-online.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752497Ab0AING4 (ORCPT ); Sat, 9 Jan 2010 08:06:56 -0500 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 mail01d.mail.t-online.hu (Postfix) with ESMTPSA id 1EEDF758F57; Sat, 9 Jan 2010 13:53:52 +0100 (CET) Message-ID: <4B487CDC.80303@freemail.hu> Date: Sat, 09 Jan 2010 13:55:56 +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 2/5] input: make Open Firmware device id constant X-DCC-mail.t-online.hu-Metrics: mail01d.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/xilinx_ps2.c b/drivers/input/serio/xilinx_ps2.c --- a/drivers/input/serio/xilinx_ps2.c 2009-12-03 04:51:21.000000000 +0100 +++ b/drivers/input/serio/xilinx_ps2.c 2010-01-08 19:13:45.000000000 +0100 @@ -354,7 +354,7 @@ static int __devexit xps2_of_remove(stru } /* Match table for of_platform binding */ -static struct of_device_id xps2_of_match[] __devinitdata = { +static const struct of_device_id xps2_of_match[] __devinitconst = { { .compatible = "xlnx,xps-ps2-1.00.a", }, { /* end of list */ }, };