]> git.ipfire.org Git - people/arne_f/kernel.git/blobdiff - drivers/usb/core/file.c
llseek: automatically add .llseek fop
[people/arne_f/kernel.git] / drivers / usb / core / file.c
index f06f5dbc8cdc22fbedfa463c05b18672cbb99516..580bcd396839a7b502ab1500e86829ae796b303f 100644 (file)
@@ -59,6 +59,7 @@ static int usb_open(struct inode * inode, struct file * file)
 static const struct file_operations usb_fops = {
        .owner =        THIS_MODULE,
        .open =         usb_open,
+       .llseek =       noop_llseek,
 };
 
 static struct usb_class {