llseek: automatically add .llseek fop
[linux-block.git] / drivers / block / DAC960.c
index 4e2c367fec11df739ff4b19abdc5ebe1c1cd42e9..dfcb33e8d40542dd9d1c3e5439e546b1cf08731a 100644 (file)
@@ -7062,7 +7062,8 @@ static long DAC960_gam_ioctl(struct file *file, unsigned int Request,
 
 static const struct file_operations DAC960_gam_fops = {
        .owner          = THIS_MODULE,
-       .unlocked_ioctl = DAC960_gam_ioctl
+       .unlocked_ioctl = DAC960_gam_ioctl,
+       .llseek         = noop_llseek,
 };
 
 static struct miscdevice DAC960_gam_dev = {