diff options
author | Greg Dietsche <Gregory.Dietsche@cuw.edu> | 2011-09-07 00:11:35 (GMT) |
---|---|---|
committer | Stanislaw Gruszka <sgruszka@redhat.com> | 2011-11-16 11:55:12 (GMT) |
commit | 9b5e2f463ac6f53789bd5ce43d2bb4b4c01e8607 (patch) | |
tree | 0af5258b4c9464212bd582cef773c5e6f43233ce /drivers/net/wireless/iwlegacy/3945.h | |
parent | e3a2c775336641663b1c38dfa7dd8a1c1210ae23 (diff) | |
download | linux-fsl-qoriq-9b5e2f463ac6f53789bd5ce43d2bb4b4c01e8607.tar.xz |
iwlegacy: debugfs_ops should depend on CONFIG_IWLEGACY_DEBUGFS
Only setup structs related to debugfs_ops when CONFIG_IWLEGACY_DEBUGFS is set.
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/3945.h')
-rw-r--r-- | drivers/net/wireless/iwlegacy/3945.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/net/wireless/iwlegacy/3945.h b/drivers/net/wireless/iwlegacy/3945.h index 00d3336..2b2895c 100644 --- a/drivers/net/wireless/iwlegacy/3945.h +++ b/drivers/net/wireless/iwlegacy/3945.h @@ -621,27 +621,6 @@ ssize_t il3945_ucode_tx_stats_read(struct file *file, char __user *user_buf, ssize_t il3945_ucode_general_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos); -#else -static ssize_t -il3945_ucode_rx_stats_read(struct file *file, char __user *user_buf, - size_t count, loff_t *ppos) -{ - return 0; -} - -static ssize_t -il3945_ucode_tx_stats_read(struct file *file, char __user *user_buf, - size_t count, loff_t *ppos) -{ - return 0; -} - -static ssize_t -il3945_ucode_general_stats_read(struct file *file, char __user *user_buf, - size_t count, loff_t *ppos) -{ - return 0; -} #endif #endif |