llseek: automatically add .llseek fop
[firefly-linux-kernel-4.4.55.git] / drivers / misc / phantom.c
index 75ee0d3f6f457707d79cbf5f5d021469710eb06d..6b38b596429440426d3ff7baff966c98e0ec7457 100644 (file)
@@ -279,6 +279,7 @@ static const struct file_operations phantom_file_ops = {
        .unlocked_ioctl = phantom_ioctl,
        .compat_ioctl = phantom_compat_ioctl,
        .poll = phantom_poll,
+       .llseek = no_llseek,
 };
 
 static irqreturn_t phantom_isr(int irq, void *data)