]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/net/wireless/wl12xx/wl1271_debugfs.c
net/wireless: use generic_file_llseek in debugfs
[mirror_ubuntu-bionic-kernel.git] / drivers / net / wireless / wl12xx / wl1271_debugfs.c
index c239ef4d0b8dedf5932eac4c041073e05a90e782..6e25303a8e7ff78fc3e6242fd55e394286de0a26 100644 (file)
@@ -51,6 +51,7 @@ static ssize_t name## _read(struct file *file, char __user *userbuf,  \
 static const struct file_operations name## _ops = {                    \
        .read = name## _read,                                           \
        .open = wl1271_open_file_generic,                               \
+       .llseek = generic_file_llseek,                                  \
 };
 
 #define DEBUGFS_ADD(name, parent)                                      \
@@ -87,6 +88,7 @@ static ssize_t sub## _ ##name## _read(struct file *file,              \
 static const struct file_operations sub## _ ##name## _ops = {          \
        .read = sub## _ ##name## _read,                                 \
        .open = wl1271_open_file_generic,                               \
+       .llseek = generic_file_llseek,                                  \
 };
 
 #define DEBUGFS_FWSTATS_ADD(sub, name)                         \