From: "Heiko Stübner" <heiko@sntech.de>
To: Jingoo Han <jg1.han@samsung.com>
Cc: "'Andrew Morton'" <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org,
"'Alessandro Zummo'" <a.zummo@towertech.it>,
rtc-linux@googlegroups.com
Subject: Re: [PATCH 2/5] rtc: rtc-hym8563: Make of_device_id array const
Date: Wed, 07 May 2014 11:15:50 +0200 [thread overview]
Message-ID: <1450231.VoSW87CxnX@diego> (raw)
In-Reply-To: <021301cf69cf$316ff000$944fd000$%han@samsung.com>
Am Mittwoch, 7. Mai 2014, 17:34:42 schrieb Jingoo Han:
> Make of_device_id array const, because all OF functions
> handle it as const.
>
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
> ---
> 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" },
> {},
> };
next prev parent reply other threads:[~2014-05-07 9:15 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 ` [PATCH 2/5] rtc: rtc-hym8563: " Jingoo Han
2014-05-07 9:15 ` Heiko Stübner [this message]
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=1450231.VoSW87CxnX@diego \
--to=heiko@sntech.de \
--cc=a.zummo@towertech.it \
--cc=akpm@linux-foundation.org \
--cc=jg1.han@samsung.com \
--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