mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Acked-by: Heiko Stbner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
9d203572f0
commit
e524360bff
1 changed files with 1 additions and 1 deletions
|
|
@ -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" },
|
||||
{},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue