diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2012-02-13 05:23:14 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-22 14:51:13 -0500 |
commit | 93b7654ec563a929a62da70324e834eeb18a2778 (patch) | |
tree | 20618aac25e9651bb971beaa0a24eac3553a5d95 /drivers/net/wireless/iwlegacy/debug.c | |
parent | 3dfea27d103e9913698cf1a2c86745a74c7c556b (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/debug.c')
-rw-r--r-- | drivers/net/wireless/iwlegacy/debug.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlegacy/debug.c b/drivers/net/wireless/iwlegacy/debug.c index bb7c95607a69..5091db813d66 100644 --- a/drivers/net/wireless/iwlegacy/debug.c +++ b/drivers/net/wireless/iwlegacy/debug.c | |||
@@ -901,7 +901,8 @@ il_dbgfs_ucode_rx_stats_read(struct file *file, char __user *user_buf, | |||
901 | size_t count, loff_t *ppos) | 901 | size_t count, loff_t *ppos) |
902 | { | 902 | { |
903 | struct il_priv *il = file->private_data; | 903 | struct il_priv *il = file->private_data; |
904 | return il->ops->lib->debugfs_ops.rx_stats_read(file, user_buf, count, ppos); | 904 | |
905 | return il->debugfs_ops->rx_stats_read(file, user_buf, count, ppos); | ||
905 | } | 906 | } |
906 | 907 | ||
907 | static ssize_t | 908 | static ssize_t |
@@ -909,7 +910,8 @@ il_dbgfs_ucode_tx_stats_read(struct file *file, char __user *user_buf, | |||
909 | size_t count, loff_t *ppos) | 910 | size_t count, loff_t *ppos) |
910 | { | 911 | { |
911 | struct il_priv *il = file->private_data; | 912 | struct il_priv *il = file->private_data; |
912 | return il->ops->lib->debugfs_ops.tx_stats_read(file, user_buf, count, ppos); | 913 | |
914 | return il->debugfs_ops->tx_stats_read(file, user_buf, count, ppos); | ||
913 | } | 915 | } |
914 | 916 | ||
915 | static ssize_t | 917 | static ssize_t |
@@ -917,7 +919,8 @@ il_dbgfs_ucode_general_stats_read(struct file *file, char __user *user_buf, | |||
917 | size_t count, loff_t *ppos) | 919 | size_t count, loff_t *ppos) |
918 | { | 920 | { |
919 | struct il_priv *il = file->private_data; | 921 | struct il_priv *il = file->private_data; |
920 | return il->ops->lib->debugfs_ops.general_stats_read(file, user_buf, count, ppos); | 922 | |
923 | return il->debugfs_ops->general_stats_read(file, user_buf, count, ppos); | ||
921 | } | 924 | } |
922 | 925 | ||
923 | static ssize_t | 926 | static ssize_t |