From patchwork Wed May 7 09:21:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 4126691 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 AAB32BFF02 for ; Wed, 7 May 2014 09:21:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E2F64202FE for ; Wed, 7 May 2014 09:21:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D10CA202EA for ; Wed, 7 May 2014 09:21:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932300AbaEGJVc (ORCPT ); Wed, 7 May 2014 05:21:32 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:10012 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932265AbaEGJVb (ORCPT ); Wed, 7 May 2014 05:21:31 -0400 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N57003TE5ZTXV90@mailout2.samsung.com> for linux-input@vger.kernel.org; Wed, 07 May 2014 18:21:29 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.50]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 99.04.11120.91BF9635; Wed, 07 May 2014 18:21:29 +0900 (KST) X-AuditID: cbfee68f-b7eff6d000002b70-8b-5369fb1938ba Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 74.32.27725.91BF9635; Wed, 07 May 2014 18:21:29 +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 <0N57002NX5ZTOMC0@mmp1.samsung.com>; Wed, 07 May 2014 18:21:29 +0900 (KST) From: Jingoo Han To: 'Dmitry Torokhov' Cc: 'Dmitry Torokhov' , linux-input@vger.kernel.org, 'Jingoo Han' , 'Daniel Hellstrom' References: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> In-reply-to: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> Subject: [PATCH 08/13] Input: apbps2 - Make of_device_id array const Date: Wed, 07 May 2014 18:21:29 +0900 Message-id: <023501cf69d5$ba8df610$2fa9e230$%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: Ac9p1GK6UV0o8Q2qS8ijosJS8wRwVgAATXMQ Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrKIsWRmVeSWpSXmKPExsVy+t8zI13J35nBBpcajCzW7G5iszi86AWj xcPtL1gtLi+8xGpx89M3VgdWj9+PvzB67Jx1l91jytwjrB59W1YxenzeJBfAGsVlk5Kak1mW WqRvl8CVcfXqevaCHawVa3a3sDYw7mXpYuTkkBAwkeic38kEYYtJXLi3ng3EFhJYxijReS0f pub0lklANVxA8UWMEpfbLjJBFP1mlPj8uRzEZhNQk/jy5TB7FyMHh4iAocSMNVUg9cwCE4BK GuYzQ9TbSvxteMACUsMpYCcx4XcySFhYwEXiXvsqsL0sAqoSc+6/BRvPC1R+bUIPC4QtKPFj 8j0wm1lAS2L9zuNMELa8xOY1b5lBRkoIqEs8+qsLEhYRMJK40ncRqlxEYt+Ld4wg50gI3GOX mDu/jRFil4DEt8mHWCB6ZSU2HWCGeFdS4uCKGyxAh89CsnkWks2zkGyehWTFAkaWVYyiqQ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ynxO47MppV/e5qmyFNx9UdWaZz8xoOhP2vanR0rctrh5furZdWepT/TexD2VE8Vt l5d/M5DabFoWtf/YD6bP3PuZXF0TxbNZOfzLfyfELHql9PhQTaO2yYYIvreHtCoZiz8umemx b0nJveOpSouP//q45/eeeOW2yIO/6lna1mVK2x1XYinOSDTUYi4qTgQAz0gXykYDAAA= 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/serio/apbps2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/serio/apbps2.c b/drivers/input/serio/apbps2.c index 17e01a8..98be824 100644 --- a/drivers/input/serio/apbps2.c +++ b/drivers/input/serio/apbps2.c @@ -203,7 +203,7 @@ static int apbps2_of_remove(struct platform_device *of_dev) return 0; } -static struct of_device_id apbps2_of_match[] = { +static const struct of_device_id apbps2_of_match[] = { { .name = "GAISLER_APBPS2", }, { .name = "01_060", }, {}