From patchwork Wed May 7 09:16:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 4126641 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 DDE639F1E1 for ; Wed, 7 May 2014 09:16:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E63A4202F2 for ; Wed, 7 May 2014 09:16:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 23FC8202EA for ; Wed, 7 May 2014 09:16:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932246AbaEGJQR (ORCPT ); Wed, 7 May 2014 05:16:17 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:48425 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932217AbaEGJQQ (ORCPT ); Wed, 7 May 2014 05:16:16 -0400 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N570023Z5R3R270@mailout1.samsung.com> for linux-input@vger.kernel.org; Wed, 07 May 2014 18:16:15 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.50]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id A1.79.09952.FD9F9635; Wed, 07 May 2014 18:16:15 +0900 (KST) X-AuditID: cbfee690-b7fcd6d0000026e0-e4-5369f9dffe63 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 7D.A0.27725.ED9F9635; Wed, 07 May 2014 18:16:15 +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 <0N57002XQ5R2OMB0@mmp1.samsung.com>; Wed, 07 May 2014 18:16:14 +0900 (KST) From: Jingoo Han To: 'Dmitry Torokhov' Cc: 'Dmitry Torokhov' , linux-input@vger.kernel.org, 'Jingoo Han' , 'Gabor Juhos' References: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> In-reply-to: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> Subject: [PATCH 03/13] Input: gpio_keys_polled - Make of_device_id array const Date: Wed, 07 May 2014 18:16:14 +0900 Message-id: <023001cf69d4$fee50980$fcaf1c80$%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: Ac9p1GK6UV0o8Q2qS8ijosJS8wRwVgAAHkQA Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrCIsWRmVeSWpSXmKPExsVy+t8zI937PzODDQ6+ZLU4vOgFo8XD7S9Y LS4vvMRqcWnKJSaLm5++sTqweuycdZfdY8rcI6weWxZnePRtWcXo8XmTXABrFJdNSmpOZllq kb5dAlfG1kuv2AvusFa8eCfQwPiSpYuRk0NCwERiV/srVghbTOLCvfVsXYxcHEICyxglVl26 wQZTdOt0J1RiEaPE3qlvGSGc34wS35rOMYNUsQmoSXz5cpi9i5GDQ0TAUGLGmiqQGmaBbkaJ E62tYOuEBGwl/jY8YAGp4RSwk5jwOxkkLCzgJ/Fo4zqwZSwCqhK3v+5hArF5gcpfrdvECGEL SvyYfA9sDLOAlsT6nceZIGx5ic1r3jKDjJQQUJd49FcXJCwiYCTRuHwbK0SJiMS+F+8YIX65 xy7Rvc0MYpWAxLfJh1ggWmUlNh1ghiiRlDi44gbLBEaJWUgWz0K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1oJBAemJJanZqakFqEcwWJg5O qQZGhlvZpzxSD2ffuPi9lIXv0IRl5w9tbbmpeXbKLO2MCqUfv4/aiLct7U3gW201T2jV8+Vr 3L1OaMm1lU52nBMq96dUX/xixtnOXetT1vQs7VwhaSOle9sy3Fyhba9bsNKU+1UMdqW/Hmx2 mPD9YXbVdvfL0/5Z/f/gve7Fix8q7S7ekqlMrJdKlViKMxINtZiLihMBUp8QNkUDAAA= 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/keyboard/gpio_keys_polled.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/keyboard/gpio_keys_polled.c b/drivers/input/keyboard/gpio_keys_polled.c index e571e19..bea53a6 100644 --- a/drivers/input/keyboard/gpio_keys_polled.c +++ b/drivers/input/keyboard/gpio_keys_polled.c @@ -191,7 +191,7 @@ err_out: return ERR_PTR(error); } -static struct of_device_id gpio_keys_polled_of_match[] = { +static const struct of_device_id gpio_keys_polled_of_match[] = { { .compatible = "gpio-keys-polled", }, { }, };