X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=drivers%2Frtc%2Frtc-isl12022.c;h=ee3ba7e6b45e148d3f03c9d671ddefbcbc02f282;hb=b1924c2ec1db98278100010ef87b54406d5ce612;hp=aa55f081c505c81bee8bf71ccfe49d85dc27fef7;hpb=75d43b2d0a323ba894d85060888f039e41b441ca;p=cascardo%2Flinux.git diff --git a/drivers/rtc/rtc-isl12022.c b/drivers/rtc/rtc-isl12022.c index aa55f081c505..ee3ba7e6b45e 100644 --- a/drivers/rtc/rtc-isl12022.c +++ b/drivers/rtc/rtc-isl12022.c @@ -274,7 +274,7 @@ static int isl12022_probe(struct i2c_client *client, } #ifdef CONFIG_OF -static struct of_device_id isl12022_dt_match[] = { +static const struct of_device_id isl12022_dt_match[] = { { .compatible = "isl,isl12022" }, { }, };