Merge branch 'master' into upstream-fixes
[linux-drm-fsl-dcu.git] / drivers / rtc / class.c
index 306d600a764aef89092926d6c9feac8da5042a41..7a0d8ee2de9c9aa95f973b86dec3d5955d348798 100644 (file)
@@ -39,7 +39,7 @@ static void rtc_device_release(struct class_device *class_dev)
  * Returns the pointer to the new struct class device.
  */
 struct rtc_device *rtc_device_register(const char *name, struct device *dev,
-                                       struct rtc_class_ops *ops,
+                                       const struct rtc_class_ops *ops,
                                        struct module *owner)
 {
        struct rtc_device *rtc;