diff mbox series

[09/15] ath11k: move fops_pktlog_filter to correct place

Message ID 156534283428.30736.4384925111786719487.stgit@x230 (mailing list archive)
State Accepted
Commit 6b5972013e22eb4f40748080f4a9b5a32d63b80f
Delegated to: Kalle Valo
Headers show
Series [01/15] ath11k: rename per_transfer_context to skb | expand

Commit Message

Kalle Valo Aug. 9, 2019, 9:27 a.m. UTC
It was placed in a confusing location, fix that. No functional changes.

Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
---
 drivers/net/wireless/ath/ath11k/debug.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath11k/debug.c b/drivers/net/wireless/ath/ath11k/debug.c
index 2ebdd8fd9e81..dc247b41390d 100644
--- a/drivers/net/wireless/ath/ath11k/debug.c
+++ b/drivers/net/wireless/ath/ath11k/debug.c
@@ -963,6 +963,12 @@  static ssize_t ath11k_read_pktlog_filter(struct file *file,
 	return simple_read_from_buffer(ubuf, count, ppos, buf, len);
 }
 
+static const struct file_operations fops_pktlog_filter = {
+	.read = ath11k_read_pktlog_filter,
+	.write = ath11k_write_pktlog_filter,
+	.open = simple_open
+};
+
 static ssize_t ath11k_write_simulate_radar(struct file *file,
 					   const char __user *user_buf,
 					   size_t count, loff_t *ppos)
@@ -977,12 +983,6 @@  static ssize_t ath11k_write_simulate_radar(struct file *file,
 	return count;
 }
 
-static const struct file_operations fops_pktlog_filter = {
-	.read = ath11k_read_pktlog_filter,
-	.write = ath11k_write_pktlog_filter,
-	.open = simple_open
-};
-
 static const struct file_operations fops_simulate_radar = {
 	.write = ath11k_write_simulate_radar,
 	.open = simple_open