From patchwork Wed May 7 09:22:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 4126701 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 6A8A79F9BC for ; Wed, 7 May 2014 09:22:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A6FE3202F2 for ; Wed, 7 May 2014 09:22:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C36A0202EA for ; Wed, 7 May 2014 09:22:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755631AbaEGJWT (ORCPT ); Wed, 7 May 2014 05:22:19 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:49882 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932265AbaEGJWQ (ORCPT ); Wed, 7 May 2014 05:22:16 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N57002NL60YR270@mailout1.samsung.com> for linux-input@vger.kernel.org; Wed, 07 May 2014 18:22:10 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.48]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id CE.43.18501.24BF9635; Wed, 07 May 2014 18:22:10 +0900 (KST) X-AuditID: cbfee68d-b7f4e6d000004845-2c-5369fb423f43 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 63.FF.25708.24BF9635; Wed, 07 May 2014 18:22:10 +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 <0N57002QT60YOMC0@mmp1.samsung.com>; Wed, 07 May 2014 18:22:10 +0900 (KST) From: Jingoo Han To: 'Dmitry Torokhov' Cc: 'Dmitry Torokhov' , linux-input@vger.kernel.org, 'Jingoo Han' , =?ISO-8859-1?Q?'Heiko_St=FCbner'?= References: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> In-reply-to: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> Subject: [PATCH 09/13] Input: auo-pixcir-ts - Make of_device_id array const Date: Wed, 07 May 2014 18:22:10 +0900 Message-id: <023601cf69d5$d2f7f610$78e7e230$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac9p1GK6UV0o8Q2qS8ijosJS8wRwVgAAVkEA Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGIsWRmVeSWpSXmKPExsVy+t8zA12n35nBBpe36VscXvSC0eLh9hes Fv8fvWa1uLzwEqvFzU/fWB1YPXbOusvuMWXuEVaPvi2rGD22X5vH7PF5k1wAaxSXTUpqTmZZ apG+XQJXxtvnR9kKNrBV3L6/i7mBcQdrFyMnh4SAicS/rWuhbDGJC/fWs3UxcnEICSxjlLi8 eimQwwFW1NObARFfxCgxc+5nRgjnN6PE3ien2EG62QTUJL58OcwO0iAiYCgxY00VSA2zwHxG iTMnzjOC1AgJ2Er8bXjAAlLDKWAnMeF3MkhYWMBbYu/bQ2BHsAioSmxctJ0ZxOYFKt+95wcr hC0o8WPyPRYQm1lAR2J/6zQ2CFteYvOat8wQd6pLPPqrCxIWETCS6Dk6B6pcRGLfi3dgJ0sI PGKXWPBpE9QuAYlvkw+xQPTKSmw6wAw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bEkNTs1tSC1CGYL EwenVANj+ctT8aVyOZNU0msKlKJKbRc9XPaQd/mtF8teFdXa+i3ebVYmIcK7QjZq+/q0iiMG ZfNrmtXzp0Y/3HU8NrIyhuHSzDmuKy81iDR/XVaYbzlL3ZrjxqE9KqkP16kpbeQw99Hxe7FA L/1Hjo1IqYHGt2Xbbs16L5Co3Wndw9yzT7iy8O6yoHVKLMUZiYZazEXFiQBRlz8dRgMAAA== 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: Heiko Stuebner --- drivers/input/touchscreen/auo-pixcir-ts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/auo-pixcir-ts.c b/drivers/input/touchscreen/auo-pixcir-ts.c index d3f9f6b..7f3c947 100644 --- a/drivers/input/touchscreen/auo-pixcir-ts.c +++ b/drivers/input/touchscreen/auo-pixcir-ts.c @@ -679,7 +679,7 @@ static const struct i2c_device_id auo_pixcir_idtable[] = { MODULE_DEVICE_TABLE(i2c, auo_pixcir_idtable); #ifdef CONFIG_OF -static struct of_device_id auo_pixcir_ts_dt_idtable[] = { +static const struct of_device_id auo_pixcir_ts_dt_idtable[] = { { .compatible = "auo,auo_pixcir_ts" }, {}, };