Merge branch 'next' of git://git.infradead.org/users/pcmoore/selinux into next
[cascardo/linux.git] / drivers / rtc / rtc-ds1742.c
index c6b2191..9822715 100644 (file)
@@ -231,7 +231,7 @@ static struct platform_driver ds1742_rtc_driver = {
        .driver         = {
                .name   = "rtc-ds1742",
                .owner  = THIS_MODULE,
-               .of_match_table = ds1742_rtc_of_match,
+               .of_match_table = of_match_ptr(ds1742_rtc_of_match),
        },
 };