From patchwork Wed May 7 09:26:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 4126741 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CB22E9F1E1 for ; Wed, 7 May 2014 09:26:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 126E8202EA for ; Wed, 7 May 2014 09:26:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2EB89201DE for ; Wed, 7 May 2014 09:26:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932428AbaEGJ0n (ORCPT ); Wed, 7 May 2014 05:26:43 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:28908 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932427AbaEGJ0m (ORCPT ); Wed, 7 May 2014 05:26:42 -0400 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N5700HR8683EL90@mailout4.samsung.com> for linux-input@vger.kernel.org; Wed, 07 May 2014 18:26:27 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.47]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 9F.7C.14563.24CF9635; Wed, 07 May 2014 18:26:26 +0900 (KST) X-AuditID: cbfee68e-b7fd86d0000038e3-f7-5369fc42aa31 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 61.53.27725.24CF9635; Wed, 07 May 2014 18:26:26 +0900 (KST) Received: from DOJG1HAN03 ([12.36.166.146]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N57002CT682OMD0@mmp1.samsung.com>; Wed, 07 May 2014 18:26:26 +0900 (KST) From: Jingoo Han To: 'Dmitry Torokhov' Cc: 'Dmitry Torokhov' , linux-input@vger.kernel.org, 'Jingoo Han' , =?ISO-8859-1?Q?'Heiko_St=FCbner'?= References: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> In-reply-to: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> Subject: [PATCH 13/13] Input: zforce - Make of_device_id array const Date: Wed, 07 May 2014 18:26:25 +0900 Message-id: <023a01cf69d6$6b46beb0$41d43c10$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac9p1GK6UV0o8Q2qS8ijosJS8wRwVgAAfFtg Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGIsWRmVeSWpSXmKPExsVy+t8zfV2nP5nBBgt3qlocXvSC0eLh9hes Fv8fvWa1uLzwEqvFzU/fWB1YPXbOusvuMWXuEVaPvi2rGD22X5vH7PF5k1wAaxSXTUpqTmZZ apG+XQJXxqbmn4wFf1kr1j+8wdzA2MbaxcjJISFgIjF79Rc2CFtM4sK99UA2F4eQwDJGid8r frPBFG3b9ZEFIrGIUWLawl3MEM5vRokNK84yglSxCahJfPlymL2LkYNDRMBQYsaaKpAaZoH5 jBJnTpwHqxESsJX42/CABaSGU8BOYsLvZBBTWMBFYvpFAZAKFgFViTdP/jGB2LxA1TcvrWSF sAUlfky+xwJiMwvoSOxvncYGYctLbF7zlhlkjISAusSjv7ogYREBI4mmpyDHgJSISOx78Y4R 5BoJgUfsEpsbj7NC7BKQ+Db5EAtEr6zEpgPMEO9KShx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7RaBwoJpCeWpGanphakFsFs YeLglGpgVFSdtHovd3dVtcd+8XfrRTRstp97Hlq67b5KntLefesCt255f5p5A/eF1d4bNY76 z0nLjee2XaAy7wGrJ+9DOVujnbtv9vmrzJ/ePeON48oH35b4zHveG8e83a8kwv3tgbxlcV+5 I9NkfJYbcM1dsp4hvVp2RYXy+0nqkhpBsh9MJ/j5zT83QYmlOCPRUIu5qDgRAMd68ThGAwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han Acked-by: Heiko Stuebner --- drivers/input/touchscreen/zforce_ts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/zforce_ts.c b/drivers/input/touchscreen/zforce_ts.c index 01d30ce..feea85b 100644 --- a/drivers/input/touchscreen/zforce_ts.c +++ b/drivers/input/touchscreen/zforce_ts.c @@ -880,7 +880,7 @@ static struct i2c_device_id zforce_idtable[] = { MODULE_DEVICE_TABLE(i2c, zforce_idtable); #ifdef CONFIG_OF -static struct of_device_id zforce_dt_idtable[] = { +static const struct of_device_id zforce_dt_idtable[] = { { .compatible = "neonode,zforce" }, {}, };