aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/3945-debug.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2012-02-13 05:23:14 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-02-22 14:51:13 -0500
commit93b7654ec563a929a62da70324e834eeb18a2778 (patch)
tree20618aac25e9651bb971beaa0a24eac3553a5d95 /drivers/net/wireless/iwlegacy/3945-debug.c
parent3dfea27d103e9913698cf1a2c86745a74c7c556b (diff)
iwlegacy: move debugfs_ops to il_priv
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/3945-debug.c')
-rw-r--r--drivers/net/wireless/iwlegacy/3945-debug.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlegacy/3945-debug.c b/drivers/net/wireless/iwlegacy/3945-debug.c
index 5e1a19fd354d..f767dd106b09 100644
--- a/drivers/net/wireless/iwlegacy/3945-debug.c
+++ b/drivers/net/wireless/iwlegacy/3945-debug.c
@@ -503,3 +503,9 @@ il3945_ucode_general_stats_read(struct file *file, char __user *user_buf,
503 kfree(buf); 503 kfree(buf);
504 return ret; 504 return ret;
505} 505}
506
507const struct il_debugfs_ops il3945_debugfs_ops = {
508 .rx_stats_read = il3945_ucode_rx_stats_read,
509 .tx_stats_read = il3945_ucode_tx_stats_read,
510 .general_stats_read = il3945_ucode_general_stats_read,
511};