llseek: automatically add .llseek fop
[deliverable/linux.git] / drivers / net / wireless / wl12xx / wl1271_debugfs.c
index 6e25303a8e7ff78fc3e6242fd55e394286de0a26..66c2b90ddfd461df7471aef34e7c3335c84a360b 100644 (file)
@@ -239,6 +239,7 @@ static ssize_t tx_queue_len_read(struct file *file, char __user *userbuf,
 static const struct file_operations tx_queue_len_ops = {
        .read = tx_queue_len_read,
        .open = wl1271_open_file_generic,
+       .llseek = default_llseek,
 };
 
 static ssize_t gpio_power_read(struct file *file, char __user *user_buf,
@@ -293,7 +294,8 @@ out:
 static const struct file_operations gpio_power_ops = {
        .read = gpio_power_read,
        .write = gpio_power_write,
-       .open = wl1271_open_file_generic
+       .open = wl1271_open_file_generic,
+       .llseek = default_llseek,
 };
 
 static void wl1271_debugfs_delete_files(struct wl1271 *wl)
This page took 0.026093 seconds and 5 git commands to generate.