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>,
"'Heiko Stübner'" <heiko@sntech.de>
Subject: [PATCH 2/5] rtc: rtc-hym8563: Make of_device_id array const
Date: Wed, 07 May 2014 17:34:42 +0900 [thread overview]
Message-ID: <021301cf69cf$316ff000$944fd000$%han@samsung.com> (raw)
In-Reply-To: <020f01cf69ce$bf617b50$3e2471f0$%han@samsung.com>
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-hym8563.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/rtc/rtc-hym8563.c b/drivers/rtc/rtc-hym8563.c
index bd628a6..5620c24 100644
--- a/drivers/rtc/rtc-hym8563.c
+++ b/drivers/rtc/rtc-hym8563.c
@@ -582,7 +582,7 @@ static const struct i2c_device_id hym8563_id[] = {
};
MODULE_DEVICE_TABLE(i2c, hym8563_id);
-static struct of_device_id hym8563_dt_idtable[] = {
+static const struct of_device_id hym8563_dt_idtable[] = {
{ .compatible = "haoyu,hym8563" },
{},
};
--
1.7.10.4
next prev parent reply other threads:[~2014-05-07 8:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-07 8:31 [PATCH 1/5] rtc: rtc-ds1742: Make of_device_id array const Jingoo Han
2014-05-07 8:34 ` Jingoo Han [this message]
2014-05-07 9:15 ` [PATCH 2/5] rtc: rtc-hym8563: " Heiko Stübner
2014-05-07 8:35 ` [PATCH 3/5] rtc: isl12057: " Jingoo Han
2014-05-07 8:36 ` [PATCH 4/5] rtc: rtc-mv: " Jingoo Han
2014-05-07 8:37 ` [PATCH 5/5] rtc: rtc-palmas: " Jingoo Han
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='021301cf69cf$316ff000$944fd000$%han@samsung.com' \
--to=jg1.han@samsung.com \
--cc=a.zummo@towertech.it \
--cc=akpm@linux-foundation.org \
--cc=heiko@sntech.de \
--cc=linux-kernel@vger.kernel.org \
--cc=rtc-linux@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox