X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=drivers%2Frtc%2Frtc-nct3018y.c;h=ed4e606be8e58d2779bd6aff148b388435770830;hb=bcb379cb3f3c518beb9a752cece70fd92ba3749a;hp=a4e3f924837e0cf904a8c098ccdff895ae1e3fed;hpb=7c9aa0f7463eede3226daf06ff7ccbb813f8b739;p=platform%2Fkernel%2Flinux-rpi.git diff --git a/drivers/rtc/rtc-nct3018y.c b/drivers/rtc/rtc-nct3018y.c index a4e3f92..ed4e606 100644 --- a/drivers/rtc/rtc-nct3018y.c +++ b/drivers/rtc/rtc-nct3018y.c @@ -538,7 +538,7 @@ MODULE_DEVICE_TABLE(of, nct3018y_of_match); static struct i2c_driver nct3018y_driver = { .driver = { .name = "rtc-nct3018y", - .of_match_table = of_match_ptr(nct3018y_of_match), + .of_match_table = nct3018y_of_match, }, .probe = nct3018y_probe, .id_table = nct3018y_id,