summaryrefslogtreecommitdiff
path: root/drivers/char/ds1302.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/ds1302.c')
-rw-r--r--drivers/char/ds1302.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/ds1302.c b/drivers/char/ds1302.c
index e3d72aa3cbd2..ed8303f9890c 100644
--- a/drivers/char/ds1302.c
+++ b/drivers/char/ds1302.c
@@ -289,6 +289,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. */