]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/um/drivers/random.c
llseek: automatically add .llseek fop
[net-next-2.6.git] / arch / um / drivers / random.c
index 4949044773ba78b93797d43701ab751b0a1bce23..981085a93f30c4a48539e81b0cabce905a39de53 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 */