]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/char/ds1302.c
llseek: automatically add .llseek fop
[karo-tx-linux.git] / drivers / char / ds1302.c
index 170693c93c73d275fceb2c310c41df8a323c9297..4f7aa364167ccccfccb1736289636bf82d572783 100644 (file)
@@ -288,6 +288,7 @@ get_rtc_status(char *buf)
 static const struct file_operations rtc_fops = {
        .owner          = THIS_MODULE,
        .unlocked_ioctl = rtc_ioctl,
+       .llseek         = noop_llseek,
 };
 
 /* Probe for the chip by writing something to its RAM and try reading it back. */