From patchwork Wed May 7 09:17:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 4126651 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 60064BFF02 for ; Wed, 7 May 2014 09:17:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 946C6202F2 for ; Wed, 7 May 2014 09:17:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C267D202EA for ; Wed, 7 May 2014 09:17:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932217AbaEGJRy (ORCPT ); Wed, 7 May 2014 05:17:54 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:8869 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932181AbaEGJRx (ORCPT ); Wed, 7 May 2014 05:17:53 -0400 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N57002V85TSQ2A0@mailout2.samsung.com> for linux-input@vger.kernel.org; Wed, 07 May 2014 18:17:52 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.48]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 6D.7E.11496.04AF9635; Wed, 07 May 2014 18:17:52 +0900 (KST) X-AuditID: cbfee691-b7f3e6d000002ce8-a4-5369fa408530 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 0A.BE.25708.F3AF9635; Wed, 07 May 2014 18:17:52 +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 <0N5700LTP5TRSC20@mmp2.samsung.com>; Wed, 07 May 2014 18:17:51 +0900 (KST) From: Jingoo Han To: 'Dmitry Torokhov' Cc: 'Dmitry Torokhov' , linux-input@vger.kernel.org, 'Jingoo Han' , 'Fabio Estevam' , 'Alberto Panizzo' References: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> In-reply-to: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> Subject: [PATCH 04/13] Input: imx_keypad - Make of_device_id array const Date: Wed, 07 May 2014 18:17:51 +0900 Message-id: <023101cf69d5$38d000a0$aa7001e0$%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: Ac9p1GK6UV0o8Q2qS8ijosJS8wRwVgAAJ0Rg Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrLIsWRmVeSWpSXmKPExsVy+t8zA12HX5nBBjuOcFqcmTSBxeLwoheM Fg+3v2C1mNWla3F54SVWi5ufvrE6sHms/Xif1ePf4X4mj52z7rJ7TJl7hNWjb8sqRo/Pm+QC 2KK4bFJSczLLUov07RK4Mu6tuMxYsJ214vAV9wbGQyxdjJwcEgImEh3nOlkhbDGJC/fWs3Ux cnEICSxjlJi34xcbTNHyvZ8YIRLTGSVuL3rBDpIQEvjNKLFhWyyIzSagJvHly2GgOAeHiICh xIw1VSD1zAJnGCVOtM9ihqi3lfjb8IAFpIZTwE5iwu9kkLCwgIfEi2s/wI5gEVCV6F38gxHE 5gUq73y3nx3CFpT4Mfke2NHMAloS63ceZ4Kw5SU2r3nLDDJSQkBd4tFfXZCwiICRxKu396HK RST2vXjHCPHKW3aJvzuiIFYJSHybfIgFolVWYtMBZogSSYm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GJmYm5MmrCTOe7DVOlBIID2xJDU7 NbUgtQhmCxMHp1QDo7rg++nMG9uv9+Qbc28w/7HWdVGWhyTnvLk6xe9f3nF4IPlrB2PgTAmN Huub13UuZH5RtfTd9eqwmODt/4K5bncVJrfb65vybNX8EXfA8cq3tjPPJtZInJy8NXPmgdx3 /i1LI2McW3XzOo5vXqvppL/K03hb3qlM9mfr7xYyzlqaVXGHYd/vUCWW4oxEQy3mouJEALLm IFNOAwAA 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/imx_keypad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/keyboard/imx_keypad.c b/drivers/input/keyboard/imx_keypad.c index 97ec335..8280cb1 100644 --- a/drivers/input/keyboard/imx_keypad.c +++ b/drivers/input/keyboard/imx_keypad.c @@ -415,7 +415,7 @@ open_err: } #ifdef CONFIG_OF -static struct of_device_id imx_keypad_of_match[] = { +static const struct of_device_id imx_keypad_of_match[] = { { .compatible = "fsl,imx21-kpp", }, { /* sentinel */ } };