From patchwork Wed May 7 09:11:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 4126621 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 1C6559F1E1 for ; Wed, 7 May 2014 09:11:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 604F4202E9 for ; Wed, 7 May 2014 09:11:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 83946201C7 for ; Wed, 7 May 2014 09:11:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754846AbaEGJLz (ORCPT ); Wed, 7 May 2014 05:11:55 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:24283 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751838AbaEGJLy (ORCPT ); Wed, 7 May 2014 05:11:54 -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 <0N5700HZG5JTEL70@mailout4.samsung.com> for linux-input@vger.kernel.org; Wed, 07 May 2014 18:11:53 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.48]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 28.BB.11496.9D8F9635; Wed, 07 May 2014 18:11:53 +0900 (KST) X-AuditID: cbfee691-b7f3e6d000002ce8-e0-5369f8d90b33 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 55.8F.27725.9D8F9635; Wed, 07 May 2014 18:11:53 +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 <0N57003EY5JSF090@mmp1.samsung.com>; Wed, 07 May 2014 18:11:52 +0900 (KST) From: Jingoo Han To: 'Dmitry Torokhov' Cc: 'Dmitry Torokhov' , linux-input@vger.kernel.org, 'Jingoo Han' , 'Alexander Shiyan' Subject: [PATCH 01/13] Input: clps711x-keypad - Make of_device_id array const Date: Wed, 07 May 2014 18:11:52 +0900 Message-id: <022e01cf69d4$62d1e5e0$2875b1a0$%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: Ac9p1GK6UV0o8Q2qS8ijosJS8wRwVg== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrBIsWRmVeSWpSXmKPExsVy+t8zA92bPzKDDQ6fELY4vOgFo8XD7S9Y LS4vvMRqcfPTN1aLSTukHFg9ds66y+4xZe4RVo++LasYPT5vkgtgieKySUnNySxLLdK3S+DK eHr/FXNBC1vF2Rub2BsYe1m7GDk5JARMJD4+fs8OYYtJXLi3nq2LkYtDSGAZo8SPGduZYYpO bljECJFYxCjRNGMvI0hCSOA3o0RHlyuIzSagJvHly2GgSRwcIgKGEjPWVIHUMwv0MUrMuTAP bIOwgK9E96VNYL0sAqoSj/adBFvAK2ArsXfyd3YIW1Dix+R7LCA2s4CWxPqdx5kgbHmJzWve MoPMlxBQl3j0VxckLCKgJ7FjwydWiBIRiX0v3jFC3HyIXWJxqwzEKgGJb5MPsUC0ykpsOgD1 lqTEwRU3WCYwis1CsngWksWzkCyehWTDAkaWVYyiqQXJBcVJ6UWmesWJucWleel6yfm5mxgh sTZxB+P9A9aHGJOB1k9klhJNzgfGal5JvKGxmZGFqYmpsZG5pRlpwkrivOmPkoKEBNITS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nUVDTd4n3RNY4M3S9G/D/UmRpvRTUfOFUtZRb0 u2haDx9P07J+JZbijERDLeai4kQA7V/c5ikDAAA= 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/clps711x-keypad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/keyboard/clps711x-keypad.c b/drivers/input/keyboard/clps711x-keypad.c index 3955aec..552b65c 100644 --- a/drivers/input/keyboard/clps711x-keypad.c +++ b/drivers/input/keyboard/clps711x-keypad.c @@ -185,7 +185,7 @@ static int clps711x_keypad_remove(struct platform_device *pdev) return 0; } -static struct of_device_id clps711x_keypad_of_match[] = { +static const struct of_device_id clps711x_keypad_of_match[] = { { .compatible = "cirrus,clps711x-keypad", }, { } };