Message ID | 021401cf69cf$46f9b370$d4ed1a50$%han@samsung.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <rtc-linux+bncBDTJ5LFEQQCBBSHAU6NQKGQEYIP7UTQ@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-qa0-f58.google.com (mail-qa0-f58.google.com [209.85.216.58]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 100CA140216 for <incoming@patchwork.ozlabs.org>; Wed, 7 May 2014 18:35:23 +1000 (EST) Received: by mail-qa0-f58.google.com with SMTP id ih12sf190248qab.13 for <incoming@patchwork.ozlabs.org>; Wed, 07 May 2014 01:35:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:thread-index:dlp-filter:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type:content-language; bh=0b/3C56LT+Yun7vFksKetoQAGjClTPT+ICn9SqAC6ko=; b=c+jN7kVxla9joGN6OP4QAuprmAKeRgjAZEPXVuE+pWhKrrV82yjAgkpTke7UqkVzo+ qplKmUM+N+oRLtoXDgN5RjFBIdSToXlnkYOYLmuoVkjMn2LQdV1BdOtWb4CmfO+6Do3t vITCsknr3oNrLbQmWWM8pFuTVchMQGhjV1Etw7sVQKyZMhT8mrqbtlI+b17xpJH1JFMh xnYiPodFiSgypISY88jswEnJQ/5BKD2ixApPMxv38JrsGKCb7gnlaypm5k9yilZtki7i XT8gnvW8DKhjDgtQLnrrQr629OYDvpiiklvX3Lr/WyjE98ZWHUzX+LSV4m/LJRBCQBmT O3aQ== X-Received: by 10.140.95.112 with SMTP id h103mr837470qge.4.1399451721152; Wed, 07 May 2014 01:35:21 -0700 (PDT) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.140.94.145 with SMTP id g17ls1166028qge.76.gmail; Wed, 07 May 2014 01:35:20 -0700 (PDT) X-Received: by 10.224.167.8 with SMTP id o8mr3710546qay.0.1399451720844; Wed, 07 May 2014 01:35:20 -0700 (PDT) Received: from mailout3.samsung.com (mailout3.samsung.com. [203.254.224.33]) by gmr-mx.google.com with ESMTPS id vc6si1074331pab.2.2014.05.07.01.35.20 for <rtc-linux@googlegroups.com> (version=TLSv1 cipher=RC4-MD5 bits=128/128); Wed, 07 May 2014 01:35:20 -0700 (PDT) Received-SPF: none (google.com: jg1.han@samsung.com does not designate permitted sender hosts) client-ip=203.254.224.33; Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N5700KWW3UVOU00@mailout3.samsung.com> for rtc-linux@googlegroups.com; Wed, 07 May 2014 17:35:19 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.49]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 03.87.11496.640F9635; Wed, 07 May 2014 17:35:18 +0900 (KST) X-AuditID: cbfee691-b7f3e6d000002ce8-00-5369f046382b Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 83.81.25708.640F9635; Wed, 07 May 2014 17:35:18 +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 <0N5700MVU3UU9YD0@mmp1.samsung.com>; Wed, 07 May 2014 17:35:18 +0900 (KST) From: Jingoo Han <jg1.han@samsung.com> To: 'Andrew Morton' <akpm@linux-foundation.org> Cc: linux-kernel@vger.kernel.org, 'Alessandro Zummo' <a.zummo@towertech.it>, rtc-linux@googlegroups.com, 'Jingoo Han' <jg1.han@samsung.com>, 'Arnaud Ebalard' <arno@natisbad.org> References: <020f01cf69ce$bf617b50$3e2471f0$%han@samsung.com> In-reply-to: <020f01cf69ce$bf617b50$3e2471f0$%han@samsung.com> Subject: [rtc-linux] [PATCH 3/5] rtc: isl12057: Make of_device_id array const Date: Wed, 07 May 2014 17:35:18 +0900 Message-id: <021401cf69cf$46f9b370$d4ed1a50$%han@samsung.com> MIME-version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac9pzr9CTHGzqjsGTXmFpMFJp7KU/wAAHNYA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrEIsWRmVeSWpSXmKPExsVy+t8zQ123D5nBBkdeWFssuXiV3WLO+jVs FucPnGGyuLzwEqvF5V1z2Cz2d3YwOrB57Jl4ks3jxIzfLB5ztz9m9+jbsorRY/q8n0wenzfJ BbBFcdmkpOZklqUW6dslcGXsnriRpWAha8XuZ/tZGxhXs3QxcnJICJhINBy6zw5hi0lcuLee rYuRi0NIYBmjxO8Lm9hgilo/zmGESCxilJj8soEJwvnNKHH+awtYFZuAmsSXL4eBRnFwiAjo S7S1aIDUMAtsZZSYv2w6WI2QgK3E2uavYDangJ3E5CNTwVYLCzhKNC9eyApiswioSkw7cxis hheovv3mYkYIW1Dix+R7YGczC2hJrN95nAnClpfYvOYtM8heCQF1iUd/dUHCIgJGEr+nvYcq EZHY9+Id2AMSAh/ZJc72/WKD2CUg8W3yIRaIXlmJTQeYIR6WlDi44gbLBEaJWUg2z0KyeRaS zbOQrFjAyLKKUTS1ILmgOCm9yFSvODG3uDQvXS85P3cTIyR+J+5gvH/A+hBjMtD6icxSosn5 wPjPK4k3NDYzsjA1MTU2Mrc0I01YSZw3/VFSkJBAemJJanZqakFqUXxRaU5q8SFGJg5OqQbG LOXLb8t+bm5cuWOPpGX+mydqa/buS7wWwLLm3AyuuosqBpy7v1REM07Rkn4iLHWmULdmsQW/ U/TGP3z/n1jKCfcVlKt4rOg3m7dDpPQUn+CO9Kcra7f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@CPGS X-CFilter-Loop: Reflected X-Original-Sender: jg1.han@samsung.com X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: jg1.han@samsung.com does not designate permitted sender hosts) smtp.mail=jg1.han@samsung.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: <rtc-linux.googlegroups.com> X-Google-Group-Id: 712029733259 List-Post: <http://groups.google.com/group/rtc-linux/post>, <mailto:rtc-linux@googlegroups.com> List-Help: <http://groups.google.com/support/>, <mailto:rtc-linux+help@googlegroups.com> List-Archive: <http://groups.google.com/group/rtc-linux> Sender: rtc-linux@googlegroups.com List-Subscribe: <http://groups.google.com/group/rtc-linux/subscribe>, <mailto:rtc-linux+subscribe@googlegroups.com> List-Unsubscribe: <http://groups.google.com/group/rtc-linux/subscribe>, <mailto:googlegroups-manage+712029733259+unsubscribe@googlegroups.com> Content-type: text/plain; charset=ISO-8859-1 Content-language: ko |
diff --git a/drivers/rtc/rtc-isl12057.c b/drivers/rtc/rtc-isl12057.c index 41bd76a..455b601 100644 --- a/drivers/rtc/rtc-isl12057.c +++ b/drivers/rtc/rtc-isl12057.c @@ -278,7 +278,7 @@ static int isl12057_probe(struct i2c_client *client, } #ifdef CONFIG_OF -static struct of_device_id isl12057_dt_match[] = { +static const struct of_device_id isl12057_dt_match[] = { { .compatible = "isl,isl12057" }, { }, };
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- drivers/rtc/rtc-isl12057.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)