diff options
Diffstat (limited to 'drivers/rtc/class.c')
-rw-r--r-- | drivers/rtc/class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c index 306d600a764a..7a0d8ee2de9c 100644 --- a/drivers/rtc/class.c +++ b/drivers/rtc/class.c | |||
@@ -39,7 +39,7 @@ static void rtc_device_release(struct class_device *class_dev) | |||
39 | * Returns the pointer to the new struct class device. | 39 | * Returns the pointer to the new struct class device. |
40 | */ | 40 | */ |
41 | struct rtc_device *rtc_device_register(const char *name, struct device *dev, | 41 | struct rtc_device *rtc_device_register(const char *name, struct device *dev, |
42 | struct rtc_class_ops *ops, | 42 | const struct rtc_class_ops *ops, |
43 | struct module *owner) | 43 | struct module *owner) |
44 | { | 44 | { |
45 | struct rtc_device *rtc; | 45 | struct rtc_device *rtc; |