llseek: automatically add .llseek fop
[linux-2.6.git] / drivers / char / hw_random / core.c
index 3d9c61e..788da05 100644 (file)
@@ -170,6 +170,7 @@ static const struct file_operations rng_chrdev_ops = {
        .owner          = THIS_MODULE,
        .open           = rng_dev_open,
        .read           = rng_dev_read,
+       .llseek         = noop_llseek,
 };
 
 static struct miscdevice rng_miscdev = {