From patchwork Wed May 7 09:25:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 4126731 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 E2A259F1E1 for ; Wed, 7 May 2014 09:25:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 22D09202FE for ; Wed, 7 May 2014 09:25:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E2DB2202F8 for ; Wed, 7 May 2014 09:25:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755139AbaEGJZr (ORCPT ); Wed, 7 May 2014 05:25:47 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:28715 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754472AbaEGJZq (ORCPT ); Wed, 7 May 2014 05:25:46 -0400 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N5700GW266XHZA0@mailout4.samsung.com> for linux-input@vger.kernel.org; Wed, 07 May 2014 18:25:45 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.51]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id CD.92.11496.91CF9635; Wed, 07 May 2014 18:25:45 +0900 (KST) X-AuditID: cbfee691-b7f3e6d000002ce8-ac-5369fc1964c5 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id D0.23.27725.91CF9635; Wed, 07 May 2014 18:25:45 +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 <0N57007G566XFN10@mmp1.samsung.com>; Wed, 07 May 2014 18:25:45 +0900 (KST) From: Jingoo Han To: 'Dmitry Torokhov' Cc: 'Dmitry Torokhov' , linux-input@vger.kernel.org, 'Jingoo Han' , 'Joonyoung Shim' References: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> In-reply-to: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> Subject: [PATCH 12/13] Input: mms114 - Make of_device_id array const Date: Wed, 07 May 2014 18:25:44 +0900 Message-id: <023901cf69d6$52d45a40$f87d0ec0$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac9p1GK6UV0o8Q2qS8ijosJS8wRwVgAAdVDw Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrIIsWRmVeSWpSXmKPExsVy+t8zY13JP5nBBtd2CVocXvSC0eLh9hes FpcXXmK1eHHvIovFzU/fWB1YPXbOusvuMWXuEVaPvi2rGD0+b5ILYInisklJzcksSy3St0vg yjhwfwNjwVPWihurTrE3ML5h6WLk5JAQMJGYueErlC0mceHeerYuRi4OIYFljBJbph6DK3p7 4DM7iC0ksIhRYs1ca4ii30BFX5eCFbEJqEl8+XIYqIiDQ0TAUGLGmiqQGmaByYwSi99PY4Zo tpX42/CABaSGU8BOYsLvZJCwsICLxOcjR9lAbBYBVYk1DR/AdvEClW/o72GFsAUlfky+B7aK WUBLYv3O40wQtrzE5jVvmUFGSgioSzz6qwsSFhEwkji59jUzRImIxL4X7xhBzpEQuMYuse79 X3aIXQIS3yYfYoHolZXYdIAZ4l1JiYMrbrBMYJSYhWTzLCSbZyHZPAvJigWMLKsYRVMLkguK k9KL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/Wj5pxTq34oX31P3izzx34JvVtuzOkurwFB/mV08bW5KTjp5/o8CzREs9yHhx +Zv1Jxqt9vUdX7Xy2WLxeF5r9fDVKpUznWZUXjv6s/7CBc9H+x4dEl8W1bnj1GGL/gVBr770 LY37/u3AfM4v074YCXYVuB36tz17/oQTR5VYijMSDbWYi4oTAaBPzk5BAwAA 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 --- drivers/input/touchscreen/mms114.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/mms114.c b/drivers/input/touchscreen/mms114.c index 8a598c0..9d83413 100644 --- a/drivers/input/touchscreen/mms114.c +++ b/drivers/input/touchscreen/mms114.c @@ -570,7 +570,7 @@ static const struct i2c_device_id mms114_id[] = { MODULE_DEVICE_TABLE(i2c, mms114_id); #ifdef CONFIG_OF -static struct of_device_id mms114_dt_match[] = { +static const struct of_device_id mms114_dt_match[] = { { .compatible = "melfas,mms114" }, { } };