llseek: automatically add .llseek fop
[firefly-linux-kernel-4.4.55.git] / drivers / usb / class / usbtmc.c
index 3e7c1b800ebb03e8668ac6a506cc137d26bcf41a..6a54634ab823df7628b1a52c2cf1542233cf5696 100644 (file)
@@ -987,6 +987,7 @@ static const struct file_operations fops = {
        .open           = usbtmc_open,
        .release        = usbtmc_release,
        .unlocked_ioctl = usbtmc_ioctl,
+       .llseek         = default_llseek,
 };
 
 static struct usb_class_driver usbtmc_class = {