From patchwork Wed May 7 09:20:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 4126681 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 F28C29F1E1 for ; Wed, 7 May 2014 09:20:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2BED8202F2 for ; Wed, 7 May 2014 09:20:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EFCF5202EA for ; Wed, 7 May 2014 09:20:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932286AbaEGJUc (ORCPT ); Wed, 7 May 2014 05:20:32 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:9623 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932265AbaEGJUb (ORCPT ); Wed, 7 May 2014 05:20:31 -0400 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N57003O45Y6XV90@mailout2.samsung.com> for linux-input@vger.kernel.org; Wed, 07 May 2014 18:20:30 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.49]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 4F.69.14563.EDAF9635; Wed, 07 May 2014 18:20:30 +0900 (KST) X-AuditID: cbfee68e-b7fd86d0000038e3-81-5369fade97b0 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 3E.6F.25708.EDAF9635; Wed, 07 May 2014 18:20:30 +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 <0N5700JOC5Y6U880@mmp2.samsung.com>; Wed, 07 May 2014 18:20:30 +0900 (KST) From: Jingoo Han To: 'Dmitry Torokhov' Cc: 'Dmitry Torokhov' , linux-input@vger.kernel.org, 'Jingoo Han' , 'Daniel Drake' References: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> In-reply-to: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> Subject: [PATCH 07/13] Input: olpc_apsp - Make of_device_id array const Date: Wed, 07 May 2014 18:20:30 +0900 Message-id: <023401cf69d5$973dbd30$c5b93790$%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: Ac9p1GK6UV0o8Q2qS8ijosJS8wRwVgAARc0g Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrKIsWRmVeSWpSXmKPExsVy+t8zQ917vzKDDdZv1LE4vOgFo8Wj+Y+Z LR5uf8FqcXnhJVaLm5++sTqweiz6nuWxc9Zddo8pc4+wevRtWcXo8XmTXABrFJdNSmpOZllq kb5dAlfGtD//mQu2sFa82LGIpYFxH0sXIyeHhICJxI+3G9ggbDGJC/fWA9lcHEICyxgl/r1o ZoQpmnz0JwtEYjqjxO/pE6Gc34wSH/rOsoJUsQmoSXz5cpi9i5GDQ0TAUGLGmiqQGmaBHkaJ xu13mEBqhARsJf42PGABqeEUsJOY8DsZJCws4C7xt+0DK0iYRUBV4m6fGkiYF6h64eGDbBC2 oMSPyffAjmYW0JJYv/M4E4QtL7F5zVtmkFYJAXWJR391QcIiAkYShw50sUKUiEjse/GOEeQa CYFH7BK7e36xgyRYBAQkvk0+xALRKyux6QAzxLuSEgdX3GCZwCgxC8nmWUg2z0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QimC1M HJxSDYwFHV+2brFYtkq2fWqI7Wp2abNll82+p87tKVA5dvT6xYz1X09sPTvjZ/315RfXrNLT Mrn5iuHBbZGYc1MturI93wmaf5PTnzJ79odw7tvc0+UChO5fW11gFXHSfN4ds9CSvzsTPPdm iEWu91r+T+7SgopbLCY/lFnDnW2OR2qLrw9boDPr2ScnJZbijERDLeai4kQA3oyVEEUDAAA= 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/olpc_apsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/serio/olpc_apsp.c b/drivers/input/serio/olpc_apsp.c index 5d2fe7e..d906f3e 100644 --- a/drivers/input/serio/olpc_apsp.c +++ b/drivers/input/serio/olpc_apsp.c @@ -262,7 +262,7 @@ static int olpc_apsp_remove(struct platform_device *pdev) return 0; } -static struct of_device_id olpc_apsp_dt_ids[] = { +static const struct of_device_id olpc_apsp_dt_ids[] = { { .compatible = "olpc,ap-sp", }, {} };