aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1251_debugfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1251_debugfs.c')
-rw-r--r--drivers/net/wireless/wl12xx/wl1251_debugfs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_debugfs.c b/drivers/net/wireless/wl12xx/wl1251_debugfs.c
index 5e4465ac08fa..fa620a5e5303 100644
--- a/drivers/net/wireless/wl12xx/wl1251_debugfs.c
+++ b/drivers/net/wireless/wl12xx/wl1251_debugfs.c
@@ -50,6 +50,7 @@ static ssize_t name## _read(struct file *file, char __user *userbuf, \
50static const struct file_operations name## _ops = { \ 50static const struct file_operations name## _ops = { \
51 .read = name## _read, \ 51 .read = name## _read, \
52 .open = wl1251_open_file_generic, \ 52 .open = wl1251_open_file_generic, \
53 .llseek = generic_file_llseek, \
53}; 54};
54 55
55#define DEBUGFS_ADD(name, parent) \ 56#define DEBUGFS_ADD(name, parent) \
@@ -86,6 +87,7 @@ static ssize_t sub## _ ##name## _read(struct file *file, \
86static const struct file_operations sub## _ ##name## _ops = { \ 87static const struct file_operations sub## _ ##name## _ops = { \
87 .read = sub## _ ##name## _read, \ 88 .read = sub## _ ##name## _read, \
88 .open = wl1251_open_file_generic, \ 89 .open = wl1251_open_file_generic, \
90 .llseek = generic_file_llseek, \
89}; 91};
90 92
91#define DEBUGFS_FWSTATS_ADD(sub, name) \ 93#define DEBUGFS_FWSTATS_ADD(sub, name) \
@@ -236,6 +238,7 @@ static ssize_t tx_queue_len_read(struct file *file, char __user *userbuf,
236static const struct file_operations tx_queue_len_ops = { 238static const struct file_operations tx_queue_len_ops = {
237 .read = tx_queue_len_read, 239 .read = tx_queue_len_read,
238 .open = wl1251_open_file_generic, 240 .open = wl1251_open_file_generic,
241 .llseek = generic_file_llseek,
239}; 242};
240 243
241static ssize_t tx_queue_status_read(struct file *file, char __user *userbuf, 244static ssize_t tx_queue_status_read(struct file *file, char __user *userbuf,
@@ -257,6 +260,7 @@ static ssize_t tx_queue_status_read(struct file *file, char __user *userbuf,
257static const struct file_operations tx_queue_status_ops = { 260static const struct file_operations tx_queue_status_ops = {
258 .read = tx_queue_status_read, 261 .read = tx_queue_status_read,
259 .open = wl1251_open_file_generic, 262 .open = wl1251_open_file_generic,
263 .llseek = generic_file_llseek,
260}; 264};
261 265
262static void wl1251_debugfs_delete_files(struct wl1251 *wl) 266static void wl1251_debugfs_delete_files(struct wl1251 *wl)