]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/rtc/rtc-dev.c
r8169: revert part of 6dccd16b7c2703e8bbf8bca62b5cf248332afbe2
[linux-2.6-omap-h63xx.git] / drivers / rtc / rtc-dev.c
index 304535942de2568e120d26df0db9fe7c77289d5c..005fff3a3508dfe4c4d010648986acb8304e0be8 100644 (file)
@@ -348,6 +348,8 @@ static int rtc_dev_ioctl(struct inode *inode, struct file *file,
        case RTC_IRQP_SET:
                if (ops->irq_set_freq)
                        err = rtc_irq_set_freq(rtc, rtc->irq_task, arg);
+               else
+                       err = -ENOTTY;
                break;
 
 #if 0