From patchwork Wed May 7 09:18:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 4126661 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 925109F1E1 for ; Wed, 7 May 2014 09:18:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CFC36202F2 for ; Wed, 7 May 2014 09:18:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D4B60202EA for ; Wed, 7 May 2014 09:18:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755555AbaEGJSk (ORCPT ); Wed, 7 May 2014 05:18:40 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:26390 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754886AbaEGJSj (ORCPT ); Wed, 7 May 2014 05:18:39 -0400 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N5700ISB5V28I70@mailout4.samsung.com> for linux-input@vger.kernel.org; Wed, 07 May 2014 18:18:38 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.48]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 2A.A8.14563.E6AF9635; Wed, 07 May 2014 18:18:38 +0900 (KST) X-AuditID: cbfee68e-b7fd86d0000038e3-2b-5369fa6ed77a Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id E8.FE.25708.D6AF9635; Wed, 07 May 2014 18:18:37 +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 <0N5700LVC5V1SC20@mmp2.samsung.com>; Wed, 07 May 2014 18:18:37 +0900 (KST) From: Jingoo Han To: 'Dmitry Torokhov' Cc: 'Dmitry Torokhov' , linux-input@vger.kernel.org, 'Jingoo Han' , 'Alexander Shiyan' References: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> In-reply-to: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> Subject: [PATCH 05/13] Input: gpio-beeper - Make of_device_id array const Date: Wed, 07 May 2014 18:18:37 +0900 Message-id: <023201cf69d5$542e1350$fc8a39f0$%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: Ac9p1GK6UV0o8Q2qS8ijosJS8wRwVgAAN5UA Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrIIsWRmVeSWpSXmKPExsVy+t8zA928X5nBBp3nmC0OL3rBaPFw+wtW i8sLL7Fa3Pz0jdVi0g4pB1aPnbPusntMmXuE1aNvyypGj8+b5AJYorhsUlJzMstSi/TtErgy 7n2+wF5wmrXiwYFvjA2MV1m6GDk5JARMJHrvb2aEsMUkLtxbz9bFyMUhJLCMUeLutF1sMEXv DzxlhUhMZ5R4eOYTO4Tzm1Hi2cw+dpAqNgE1iS9fDgPZHBwiAoYSM9ZUgdQwC/QxSsy5MA+s RkjAVuJvwwMWkBpOATuJCb+TQcLCAp4SMxYeBythEVCVaF5+GewiXqDyX99Xs0PYghI/Jt8D u5pZQEti/c7jTBC2vMTmNW+ZQUZKCKhLPPqrCxIWETCSOD7/HFSJiMS+F+8YQc6RELjFLrFo Yg8bxC4BiW+TD7FA9MpKbDrADPGvpMTBFTdYJjBKzEKyeRaS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mlqQWgSzhYmDU6qBUf2b 8Yz/bGmcwsvuyZ89NnntNJfU6VMOql0/Mr21zSOHl+9/kCLPbuEjm+Wz96U766+OCz0hYH1i bnPV8/MucwzkVi+aIm+t3TEhRefL5LnXay63+h5wfNyz+E3Hq433p3WKpDOvjj2lZcQ6p2Ze VLTPpM273one3bBAL29F+bdFe0omS17kOajEUpyRaKjFXFScCAC9Oa5BQQMAAA== 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/misc/gpio-beeper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/misc/gpio-beeper.c b/drivers/input/misc/gpio-beeper.c index 5be291d..66c152c 100644 --- a/drivers/input/misc/gpio-beeper.c +++ b/drivers/input/misc/gpio-beeper.c @@ -104,7 +104,7 @@ static int gpio_beeper_probe(struct platform_device *pdev) } #ifdef CONFIG_OF -static struct of_device_id gpio_beeper_of_match[] = { +static const struct of_device_id gpio_beeper_of_match[] = { { .compatible = BEEPER_MODNAME, }, { } };