llseek: automatically add .llseek fop
[deliverable/linux.git] / drivers / net / wireless / wl12xx / wl1251_debugfs.c
index a4ae7c4d94b5d3fbe6d2d9edc5d1cac5f67553f6..fa620a5e53036a148ad0a99369b4a4dc3b8cc8de 100644 (file)
@@ -238,6 +238,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 = wl1251_open_file_generic,
+       .llseek = generic_file_llseek,
 };
 
 static ssize_t tx_queue_status_read(struct file *file, char __user *userbuf,
@@ -259,6 +260,7 @@ static ssize_t tx_queue_status_read(struct file *file, char __user *userbuf,
 static const struct file_operations tx_queue_status_ops = {
        .read = tx_queue_status_read,
        .open = wl1251_open_file_generic,
+       .llseek = generic_file_llseek,
 };
 
 static void wl1251_debugfs_delete_files(struct wl1251 *wl)
This page took 0.028075 seconds and 5 git commands to generate.