Message ID | 021601cf69cf$9b96ece0$d2c4c6a0$%han@samsung.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <rtc-linux+bncBDTJ5LFEQQCBBVXBU6NQKGQEHPLGNWY@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-pa0-f63.google.com (mail-pa0-f63.google.com [209.85.220.63]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 2D043140109 for <incoming@patchwork.ozlabs.org>; Wed, 7 May 2014 18:37:44 +1000 (EST) Received: by mail-pa0-f63.google.com with SMTP id lf10sf187083pab.28 for <incoming@patchwork.ozlabs.org>; Wed, 07 May 2014 01:37:42 -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=p00YX/hOg3qLMooptyw6Mc7gZK0gyYrMR9e6nRcuszA=; b=mdbXiqEmVQ9EB91WbixFRFwIDwjalxIUuZL7j4OTTGOfj75do/BMlPxpXfrimlbQ0w IdpCU7dGXXYjh+CMkEt8XCBojCHyyMmWrBagZQuMdkRvCAkzm0lxO4jL+V7nty8zHbdH Wyyyi0sfLsT0Eqi/gNZB5L3a8ainqkfgW8eqDL6QBFJNOAaMHtyX9M2S4SmyospY29Mj Toqxmwienm3WELeYl5zdV0zzNHqSSh/oyc539ujXbM2g/LizEJfnq+CQg7FUqZdt5Hzl HtiZzRXAt8uqY7ud8JJ2mJNgt4UlyBhB1X7aJ7Goir3uPH3VN/gBxXcSy6fzU+/MUsa5 ajsQ== X-Received: by 10.140.18.194 with SMTP id 60mr1135qgf.36.1399451862932; Wed, 07 May 2014 01:37:42 -0700 (PDT) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.140.22.6 with SMTP id 6ls3351004qgm.50.gmail; Wed, 07 May 2014 01:37:42 -0700 (PDT) X-Received: by 10.236.134.235 with SMTP id s71mr3017955yhi.55.1399451862661; Wed, 07 May 2014 01:37:42 -0700 (PDT) Received: from mailout4.samsung.com (mailout4.samsung.com. [203.254.224.34]) by gmr-mx.google.com with ESMTPS id hf9si1074260pac.1.2014.05.07.01.37.42 for <rtc-linux@googlegroups.com> (version=TLSv1 cipher=RC4-MD5 bits=128/128); Wed, 07 May 2014 01:37:42 -0700 (PDT) Received-SPF: none (google.com: jg1.han@samsung.com does not designate permitted sender hosts) client-ip=203.254.224.34; Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N5700G2M3YSS850@mailout4.samsung.com> for rtc-linux@googlegroups.com; Wed, 07 May 2014 17:37:40 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.50]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 26.F8.11496.4D0F9635; Wed, 07 May 2014 17:37:40 +0900 (KST) X-AuditID: cbfee691-b7f3e6d000002ce8-ca-5369f0d4986a Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 87.85.27725.4D0F9635; Wed, 07 May 2014 17:37:40 +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 <0N5700JMK3YSU810@mmp2.samsung.com>; Wed, 07 May 2014 17:37:40 +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>, 'Laxman Dewangan' <ldewangan@nvidia.com> References: <020f01cf69ce$bf617b50$3e2471f0$%han@samsung.com> In-reply-to: <020f01cf69ce$bf617b50$3e2471f0$%han@samsung.com> Subject: [rtc-linux] [PATCH 5/5] rtc: rtc-palmas: Make of_device_id array const Date: Wed, 07 May 2014 17:37:40 +0900 Message-id: <021601cf69cf$9b96ece0$d2c4c6a0$%han@samsung.com> MIME-version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac9pzr9CTHGzqjsGTXmFpMFJp7KU/wAAL7eg X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrAIsWRmVeSWpSXmKPExsVy+t8zI90rHzKDDbruW1gsuXiV3WLO+jVs FpcXXmK1WLpvNYvF5V1z2Cz2d3YwOrB57Jl4ks3jxIzfLB69ze/YPPq2rGL0mD7vJ5PH501y AWxRXDYpqTmZZalF+nYJXBm9u1axFexhrZhzt5mpgfEoSxcjJ4eEgInEvje/mCBsMYkL99az gdhCAssYJe60JcLUzP16nLWLkQsoPp1RYtqy/1DOb0aJPategnWzCahJfPlymL2LkYNDREBf oq1FA6SGWWAno8TartnMEFNtJdY2fwXbwClgJzH5yFR2EFtYwFmib/NNsItYBFQlbu+ZzgIy hxeofs3zCJAwr4CgxI/J98BKmAW0JNbvPM4EYctLbF7zlhmkXEJAXeLRX12QsIiAkUTX/2Y2 iBIRiX0v3jGCnCMh8JVd4sbZNmaIVQIS3yYfYoHolZXYdIAZ4l9JiYMrbrBMYJSYhWTzLCSb ZyHZPAvJigWMLKsYRVMLkguKk9KLTPWKE3OLS/PS9ZLzczcxQmJ34g7G+wesDzEmA62fyCwl mpwPjP28knhDYzMjC1MTU2Mjc0sz0oSVxHnTHyUFCQmkJ5akZqemFqQWxReV5qQWH2Jk4uCU amDsZX21aI/Tp9/hNjzur9NcLqdf9l6/Yq+M5a7Ku5/2eqXY3c16G+CvmXKlZLVl7KEF6UbS /KazxGbL2JQqmT9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IADhMgepRAwAA DLP-Filter: Pass X-MTR: 20000000000000000@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-palmas.c b/drivers/rtc/rtc-palmas.c index c360d62..4dfe2d7 100644 --- a/drivers/rtc/rtc-palmas.c +++ b/drivers/rtc/rtc-palmas.c @@ -352,7 +352,7 @@ static SIMPLE_DEV_PM_OPS(palmas_rtc_pm_ops, palmas_rtc_suspend, palmas_rtc_resume); #ifdef CONFIG_OF -static struct of_device_id of_palmas_rtc_match[] = { +static const struct of_device_id of_palmas_rtc_match[] = { { .compatible = "ti,palmas-rtc"}, { }, };
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-palmas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)