diff options
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-dev.c b/drivers/rtc/rtc-dev.c index 94d3df62a5fa..82f2ac87ccd4 100644 --- a/drivers/rtc/rtc-dev.c +++ b/drivers/rtc/rtc-dev.c | |||
@@ -305,7 +305,7 @@ static int rtc_dev_ioctl(struct inode *inode, struct file *file, | |||
305 | 305 | ||
306 | case RTC_IRQP_READ: | 306 | case RTC_IRQP_READ: |
307 | if (ops->irq_set_freq) | 307 | if (ops->irq_set_freq) |
308 | err = put_user(rtc->irq_freq, (unsigned long *) arg); | 308 | err = put_user(rtc->irq_freq, (unsigned long __user *)uarg); |
309 | break; | 309 | break; |
310 | 310 | ||
311 | case RTC_IRQP_SET: | 311 | case RTC_IRQP_SET: |