llseek: automatically add .llseek fop
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-msm / smd_debug.c
index 3b2dd717b788feb315d36cc5ec34cad57b3ebf1b..f91c3b7bc6558f89e918f76e7a790fe28d6d89b9 100644 (file)
@@ -212,6 +212,7 @@ static int debug_open(struct inode *inode, struct file *file)
 static const struct file_operations debug_ops = {
        .read = debug_read,
        .open = debug_open,
+       .llseek = default_llseek,
 };
 
 static void debug_create(const char *name, mode_t mode,