From patchwork Wed May 7 09:23:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 4126711 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 996709F1E1 for ; Wed, 7 May 2014 09:23:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CC718202FF for ; Wed, 7 May 2014 09:23:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0B129202F2 for ; Wed, 7 May 2014 09:23:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932387AbaEGJXf (ORCPT ); Wed, 7 May 2014 05:23:35 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:28017 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932386AbaEGJXd (ORCPT ); Wed, 7 May 2014 05:23:33 -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 <0N5700ID66388I80@mailout4.samsung.com> for linux-input@vger.kernel.org; Wed, 07 May 2014 18:23:32 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.48]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id F2.A1.11496.49BF9635; Wed, 07 May 2014 18:23:32 +0900 (KST) X-AuditID: cbfee691-b7f3e6d000002ce8-64-5369fb94f2ce Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 72.B2.27725.49BF9635; Wed, 07 May 2014 18:23:32 +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 <0N57003OB638F0B0@mmp1.samsung.com>; Wed, 07 May 2014 18:23:32 +0900 (KST) From: Jingoo Han To: 'Dmitry Torokhov' Cc: 'Dmitry Torokhov' , linux-input@vger.kernel.org, 'Jingoo Han' , 'Zhang Jiejing' References: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> In-reply-to: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> Subject: [PATCH 10/13] Input: egalax_ts - Make of_device_id array const Date: Wed, 07 May 2014 18:23:32 +0900 Message-id: <023701cf69d6$03a81a60$0af84f20$%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: Ac9p1GK6UV0o8Q2qS8ijosJS8wRwVgAAXFpA Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGIsWRmVeSWpSXmKPExsVy+t8zA90pvzODDe68lLY4vOgFo8XD7S9Y LS4vvMRqceb/PyaLm5++sTqwevw73M/ksXPWXXaPKXOPsHr0bVnF6PF5k1wAaxSXTUpqTmZZ apG+XQJXxvm+FUwFC9gqnp2Zy9rAuJS1i5GTQ0LAROL5k53sELaYxIV769m6GLk4hASWMUos 2N/BDlP0+/Q6dojEIkaJ1dtuM0E4vxklju5tYgOpYhNQk/jy5TBQFQeHiIChxIw1VSA1zAIz GCV2d69jBqkRErCV+NvwgAWkhlPATmLC72SQsLCAu8SPc5vBxrAIqEr8v32WBcTmBSqfc3IS O4QtKPFj8j2wOLOAlsT6nceZIGx5ic1r3jKDjJQQUJd49FcXJCwiYCTRfvMQI0SJiMS+F+8Y IX55xC7RuIMZYpWAxLfJh1ggWmUlNh1ghiiRlDi44gbLBEaJWUgWz0KyeBaSxbOQbFjAy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i2C2 MHFwSjUw7lhYzGw92eR8+paPX/sltkb6JU27mjl/31LWTrm/f3fVcwVdjfi7Lebx7geXFWbn ut5fVnZ4rvStkv1x+5I2Zr6TarD9kxwveWUjw8kr5ktOzpZdvcabuf5dn+23vwkt61bEXFKM mGeWW1Vv48K0YO4yXnauh1u+xjA7fD16Tmh573Vt/ewDlUosxRmJhlrMRcWJAFI/s/JHAwAA 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/egalax_ts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/egalax_ts.c b/drivers/input/touchscreen/egalax_ts.c index e6bcb13..c805784 100644 --- a/drivers/input/touchscreen/egalax_ts.c +++ b/drivers/input/touchscreen/egalax_ts.c @@ -262,7 +262,7 @@ static int egalax_ts_resume(struct device *dev) static SIMPLE_DEV_PM_OPS(egalax_ts_pm_ops, egalax_ts_suspend, egalax_ts_resume); -static struct of_device_id egalax_ts_dt_ids[] = { +static const struct of_device_id egalax_ts_dt_ids[] = { { .compatible = "eeti,egalax_ts" }, { /* sentinel */ } };