llseek: automatically add .llseek fop
[linux-flexiantxendom0-3.2.10.git] / arch / um / drivers / random.c
index 4949044..981085a 100644 (file)
@@ -100,6 +100,7 @@ static const struct file_operations rng_chrdev_ops = {
        .owner          = THIS_MODULE,
        .open           = rng_dev_open,
        .read           = rng_dev_read,
+       .llseek         = noop_llseek,
 };
 
 /* rng_init shouldn't be called more than once at boot time */