diff options
-rw-r--r-- | drivers/rtc/rtc-dev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-dev.c b/drivers/rtc/rtc-dev.c index 304535942de2..005fff3a3508 100644 --- a/drivers/rtc/rtc-dev.c +++ b/drivers/rtc/rtc-dev.c | |||
@@ -348,6 +348,8 @@ static int rtc_dev_ioctl(struct inode *inode, struct file *file, | |||
348 | case RTC_IRQP_SET: | 348 | case RTC_IRQP_SET: |
349 | if (ops->irq_set_freq) | 349 | if (ops->irq_set_freq) |
350 | err = rtc_irq_set_freq(rtc, rtc->irq_task, arg); | 350 | err = rtc_irq_set_freq(rtc, rtc->irq_task, arg); |
351 | else | ||
352 | err = -ENOTTY; | ||
351 | break; | 353 | break; |
352 | 354 | ||
353 | #if 0 | 355 | #if 0 |