diff options
Diffstat (limited to 'drivers/net/wireless/wl1251/debugfs.c')
-rw-r--r-- | drivers/net/wireless/wl1251/debugfs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl1251/debugfs.c b/drivers/net/wireless/wl1251/debugfs.c index 6e5caaa9f613..6c274007d200 100644 --- a/drivers/net/wireless/wl1251/debugfs.c +++ b/drivers/net/wireless/wl1251/debugfs.c | |||
@@ -48,6 +48,7 @@ static ssize_t name## _read(struct file *file, char __user *userbuf, \ | |||
48 | static const struct file_operations name## _ops = { \ | 48 | static const struct file_operations name## _ops = { \ |
49 | .read = name## _read, \ | 49 | .read = name## _read, \ |
50 | .open = wl1251_open_file_generic, \ | 50 | .open = wl1251_open_file_generic, \ |
51 | .llseek = generic_file_llseek, \ | ||
51 | }; | 52 | }; |
52 | 53 | ||
53 | #define DEBUGFS_ADD(name, parent) \ | 54 | #define DEBUGFS_ADD(name, parent) \ |
@@ -84,6 +85,7 @@ static ssize_t sub## _ ##name## _read(struct file *file, \ | |||
84 | static const struct file_operations sub## _ ##name## _ops = { \ | 85 | static const struct file_operations sub## _ ##name## _ops = { \ |
85 | .read = sub## _ ##name## _read, \ | 86 | .read = sub## _ ##name## _read, \ |
86 | .open = wl1251_open_file_generic, \ | 87 | .open = wl1251_open_file_generic, \ |
88 | .llseek = generic_file_llseek, \ | ||
87 | }; | 89 | }; |
88 | 90 | ||
89 | #define DEBUGFS_FWSTATS_ADD(sub, name) \ | 91 | #define DEBUGFS_FWSTATS_ADD(sub, name) \ |
@@ -234,6 +236,7 @@ static ssize_t tx_queue_len_read(struct file *file, char __user *userbuf, | |||
234 | static const struct file_operations tx_queue_len_ops = { | 236 | static const struct file_operations tx_queue_len_ops = { |
235 | .read = tx_queue_len_read, | 237 | .read = tx_queue_len_read, |
236 | .open = wl1251_open_file_generic, | 238 | .open = wl1251_open_file_generic, |
239 | .llseek = generic_file_llseek, | ||
237 | }; | 240 | }; |
238 | 241 | ||
239 | static ssize_t tx_queue_status_read(struct file *file, char __user *userbuf, | 242 | static ssize_t tx_queue_status_read(struct file *file, char __user *userbuf, |
@@ -255,6 +258,7 @@ static ssize_t tx_queue_status_read(struct file *file, char __user *userbuf, | |||
255 | static const struct file_operations tx_queue_status_ops = { | 258 | static const struct file_operations tx_queue_status_ops = { |
256 | .read = tx_queue_status_read, | 259 | .read = tx_queue_status_read, |
257 | .open = wl1251_open_file_generic, | 260 | .open = wl1251_open_file_generic, |
261 | .llseek = generic_file_llseek, | ||
258 | }; | 262 | }; |
259 | 263 | ||
260 | static void wl1251_debugfs_delete_files(struct wl1251 *wl) | 264 | static void wl1251_debugfs_delete_files(struct wl1251 *wl) |