Message ID | 023301cf69d5$78a87450$69f95cf0$%han@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-input-owner@kernel.org> 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 806B2BFF02 for <patchwork-linux-input@patchwork.kernel.org>; Wed, 7 May 2014 09:19:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C7BE2202F8 for <patchwork-linux-input@patchwork.kernel.org>; Wed, 7 May 2014 09:19:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F1E1E202EA for <patchwork-linux-input@patchwork.kernel.org>; Wed, 7 May 2014 09:19:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755610AbaEGJTl (ORCPT <rfc822;patchwork-linux-input@patchwork.kernel.org>); Wed, 7 May 2014 05:19:41 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:26614 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751886AbaEGJTk (ORCPT <rfc822; linux-input@vger.kernel.org>); Wed, 7 May 2014 05:19:40 -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 <0N5700G5K5WRHZA0@mailout4.samsung.com> for linux-input@vger.kernel.org; Wed, 07 May 2014 18:19:39 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.47]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 37.6F.11496.BAAF9635; Wed, 07 May 2014 18:19:39 +0900 (KST) X-AuditID: cbfee691-b7f3e6d000002ce8-c3-5369faabffe8 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 9F.A1.27725.BAAF9635; Wed, 07 May 2014 18:19:39 +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 <0N5700JK05WRU880@mmp2.samsung.com>; Wed, 07 May 2014 18:19:39 +0900 (KST) From: Jingoo Han <jg1.han@samsung.com> To: 'Dmitry Torokhov' <dmitry.torokhov@gmail.com> Cc: 'Dmitry Torokhov' <dtor@mail.ru>, linux-input@vger.kernel.org, 'Jingoo Han' <jg1.han@samsung.com>, 'Daniel Mack' <zonque@gmail.com> References: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> In-reply-to: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> Subject: [PATCH 06/13] Input: rotary_encoder - Make of_device_id array const Date: Wed, 07 May 2014 18:19:38 +0900 Message-id: <023301cf69d5$78a87450$69f95cf0$%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: Ac9p1GK6UV0o8Q2qS8ijosJS8wRwVgAAPLHQ Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrIIsWRmVeSWpSXmKPExsVy+t8zfd3VvzKDDa53SVgcXvSC0eLh9hes FpcXXmK1uPnpG6tF54z1TA6sHjtn3WX3mDL3CKtH35ZVjB6fN8kFsERx2aSk5mSWpRbp2yVw ZVzdMI+14BNrxbOuK8wNjL9Zuhg5OSQETCQuLPvEDGGLSVy4t56ti5GLQ0hgGaPEn5WTWWGK 9pxYyAiRmM4ocenIPbAOIYHfjBK7joiB2GwCahJfvhxm72Lk4BARMJSYsaYKpJ5ZoJNRYtv6 r0wQ9bYSfxsesIDUcArYSUz4nQwSFhbwkfj74Rk7iM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07MLS7NS9dLzs/dxAiO/WdSOxhX NlgcYhTgYFTi4bV4mxEsxJpYVlyZe4hRgoNZSYS3/3tmsBBvSmJlVWpRfnxRaU5q8SHGZKBH JzJLiSbnA9NSXkm8obGJmZGlkZmFkYm5OWnCSuK8B1qtA4UE0hNLUrNTUwtSi2C2MHFwSjUw pjqbqr3VX/m/uqii8oibTKtM7eG76qcsuOT/+HSo6Ow5nruSpX9tz9fd2sfVzvHyr2157OTo 1KJxW3PS9xM3VrpJz5kddGVW1xeue2k3DSWkjhs2XQzfu9HozaNOX+dZ96r6PqS96ndqmPb8 e1Tt3ZqUK8xPVwo9c/UzWpE4O0yxP2jm9QV/lViKMxINtZiLihMB4J0xzkEDAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: <linux-input.vger.kernel.org> 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 |
diff --git a/drivers/input/misc/rotary_encoder.c b/drivers/input/misc/rotary_encoder.c index 99b9e42..93558a1c 100644 --- a/drivers/input/misc/rotary_encoder.c +++ b/drivers/input/misc/rotary_encoder.c @@ -143,7 +143,7 @@ static irqreturn_t rotary_encoder_half_period_irq(int irq, void *dev_id) } #ifdef CONFIG_OF -static struct of_device_id rotary_encoder_of_match[] = { +static const struct of_device_id rotary_encoder_of_match[] = { { .compatible = "rotary-encoder", }, { }, };
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- drivers/input/misc/rotary_encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)