From patchwork Wed May 7 09:24:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 4126721 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 57509BFF02 for ; Wed, 7 May 2014 09:25:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9B92D202F2 for ; Wed, 7 May 2014 09:25:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 94E8B202EA for ; Wed, 7 May 2014 09:25:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754620AbaEGJZE (ORCPT ); Wed, 7 May 2014 05:25:04 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:21762 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754472AbaEGJZC (ORCPT ); Wed, 7 May 2014 05:25:02 -0400 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N5700K2S65MAX70@mailout3.samsung.com> for linux-input@vger.kernel.org; Wed, 07 May 2014 18:24:58 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.49]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id 2A.2E.09952.AEBF9635; Wed, 07 May 2014 18:24:58 +0900 (KST) X-AuditID: cbfee690-b7fcd6d0000026e0-41-5369fbea505e Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 2A.F2.27725.AEBF9635; Wed, 07 May 2014 18:24:58 +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 <0N570022N65MOMD0@mmp1.samsung.com>; Wed, 07 May 2014 18:24:58 +0900 (KST) From: Jingoo Han To: 'Dmitry Torokhov' Cc: 'Dmitry Torokhov' , linux-input@vger.kernel.org, 'Jingoo Han' , 'Roland Stigge' References: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> In-reply-to: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> Subject: PATCH 11/13] Input: lpc32xx_ts - Make of_device_id array const Date: Wed, 07 May 2014 18:24:57 +0900 Message-id: <023801cf69d6$36ce6ed0$a46b4c70$%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: Ac9p1GK6UV0o8Q2qS8ijosJS8wRwVgAAaHPQ Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrMIsWRmVeSWpSXmKPExsVy+t8zQ91XvzODDT5sl7U4vOgFo8XD7S9Y LS4vvMRqcfPTN1aLyUvOsjqwesyZupvRY+esu+weU+YeYfXo27KK0ePzJrkA1igum5TUnMyy 1CJ9uwSujPuL5zAWvGGtOLdboYHxC0sXIyeHhICJRMu8S6wQtpjEhXvr2boYuTiEBJYxSjQ9 vQxUxAFWNONRFUR8EaPE7+P/mUEahAR+M0rsucIGYrMJqEl8+XKYHaReRMBQYsYasHpmgW5G iXe/P7NC1NtK/G14ADaTU8BOYsLvZBBTWMBdouViNUgFi4CqxLTZT8BO4wWqPtC5hRXCFpT4 MfkeWJxZQEti/c7jTBC2vMTmNW+ZIa5Ul3j0VxckLCJgJPF7yxNGiBIRiX0v3jGCXCMhcI9d YklLOyvELgGJb5MPQX0oK7HpADMkFCQlDq64wTKBUWIWks2zkGyehWTz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ZgsTB6dU A2NEV7ywwMGrTQfmL1JnPNAZ/O3X/y+b3Kx4m5c0nxYpycuJ6+T9sfyfooHOl7wdu5V6j0z4 3H+Pt0b0r99a+ZdXmnbeU1nwJv8O68czctxHb3XNuRj2yDd6+vPDv5acSev3EP274gevmlR4 0RW57er3NF3zVHg36RXFPXhuvDP2bQHHPXk92V9KLMUZiYZazEXFiQB3AyiGQwMAAA== 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 Acked-by: Roland Stigge --- drivers/input/touchscreen/lpc32xx_ts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/lpc32xx_ts.c b/drivers/input/touchscreen/lpc32xx_ts.c index 2058253..bb47d34 100644 --- a/drivers/input/touchscreen/lpc32xx_ts.c +++ b/drivers/input/touchscreen/lpc32xx_ts.c @@ -384,7 +384,7 @@ static const struct dev_pm_ops lpc32xx_ts_pm_ops = { #endif #ifdef CONFIG_OF -static struct of_device_id lpc32xx_tsc_of_match[] = { +static const struct of_device_id lpc32xx_tsc_of_match[] = { { .compatible = "nxp,lpc3220-tsc", }, { }, };