From: Jingoo Han Date: Fri, 6 Jun 2014 21:35:55 +0000 (-0700) Subject: rtc: rtc-hym8563: make of_device_id array const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e524360bff8627a7b07424814fe8eec7307c46a2;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git rtc: rtc-hym8563: make of_device_id array const Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han Acked-by: Heiko Stbner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/rtc/rtc-hym8563.c b/drivers/rtc/rtc-hym8563.c index e5f13c4310fe..e3290abbb03e 100644 --- a/drivers/rtc/rtc-hym8563.c +++ b/drivers/rtc/rtc-hym8563.c @@ -585,7 +585,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" }, {}, };