From patchwork Wed May 7 09:15:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 4126631 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 076489F1E1 for ; Wed, 7 May 2014 09:15:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 49207202EA for ; Wed, 7 May 2014 09:15:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EFF9A202F8 for ; Wed, 7 May 2014 09:15:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932213AbaEGJPT (ORCPT ); Wed, 7 May 2014 05:15:19 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:18892 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932246AbaEGJPP (ORCPT ); Wed, 7 May 2014 05:15:15 -0400 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N5700K9C5PEAX60@mailout3.samsung.com> for linux-input@vger.kernel.org; Wed, 07 May 2014 18:15:14 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.47]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 17.E0.11120.2A9F9635; Wed, 07 May 2014 18:15:14 +0900 (KST) X-AuditID: cbfee68f-b7eff6d000002b70-65-5369f9a25f61 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 38.7D.25708.2A9F9635; Wed, 07 May 2014 18:15:14 +0900 (KST) Received: from DOJG1HAN03 ([12.36.166.146]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N5700LKU5PE7B40@mmp2.samsung.com>; Wed, 07 May 2014 18:15:14 +0900 (KST) From: Jingoo Han To: 'Dmitry Torokhov' Cc: 'Dmitry Torokhov' , linux-input@vger.kernel.org, 'Jingoo Han' , 'Philippe Langlais' References: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> In-reply-to: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> Subject: [PATCH 02/13] Input: gpio_keys - Make of_device_id array const Date: Wed, 07 May 2014 18:15:13 +0900 Message-id: <022f01cf69d4$dabd0e40$90372ac0$%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: Ac9p1GK6UV0o8Q2qS8ijosJS8wRwVgAAAkoQ Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrMIsWRmVeSWpSXmKPExsVy+t8zfd1FPzODDbb2yFgcXvSC0eLh9hes FpcXXmK1uPnpG6vFsX/ZDqweO2fdZfe4c20Pm8eUuUdYPfq2rGL0+LxJLoA1issmJTUnsyy1 SN8ugSvj9u1D7AWHWCumHqhoYDzL0sXIwSEhYCLxtqeqi5ETyBSTuHBvPVsXIxeHkMAyRoll zaeYIBImErdfPGGESExnlNi35B47hPObUaL942FmkCo2ATWJL18Os4NMFREwlJixpgqkhllg LqPEp+0bWEFqhARsJf42PADbzClgJzHhdzJIWFjAXeJmw0Y2EJtFQFVi8ZQzbCAlvEDlx+5E gYR5BQQlfky+xwJiMwtoSazfeZwJwpaX2LzmLTPEL+oSj/7qgoRFBIwkGk7+Z4MoEZHY9+Id 2PkSAo/YJdZMWcgMsUpA4tvkQ9BwkJXYdIAZ4l1JiYMrbrBMYJSYhWTzLCSbZ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UIC6YklqdmpqQWpRTBb mDg4pRoYqyOn7bnG6b/ie90HkUON7v5HGqY/l6yes0Lk46R5If+v7J4W8iOiJuGkqbDD73sf jYvfHbvYYZb4+V6CpfUyN105judTFPel7F/Odchmoxznsx7hJtcLa7oeuc8v2G658sApj0x9 CVHbRYHs057O3Xt3z5ImxaYnDWlcC5ZuUE6SbhSzPLmNUYmlOCPRUIu5qDgRACixkTlEAwAA 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.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c index 52dc872..af85218 100644 --- a/drivers/input/keyboard/gpio_keys.c +++ b/drivers/input/keyboard/gpio_keys.c @@ -646,7 +646,7 @@ gpio_keys_get_devtree_pdata(struct device *dev) return pdata; } -static struct of_device_id gpio_keys_of_match[] = { +static const struct of_device_id gpio_keys_of_match[] = { { .compatible = "gpio-keys", }, { }, };