[Intel-gfx] [PATCH 6/9] ath10k: make relay callbacks const
Jani Nikula
jani.nikula at intel.com
Mon Nov 23 17:59:26 UTC 2020
Now that relay_open() accepts const callbacks, make relay callbacks
const.
Cc: Kalle Valo <kvalo at codeaurora.org>
Cc: ath10k at lists.infradead.org
Acked-by: Kalle Valo <kvalo at codeaurora.org>
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
drivers/net/wireless/ath/ath10k/spectral.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath10k/spectral.c b/drivers/net/wireless/ath/ath10k/spectral.c
index 5db6bff5193b..68254a967ccb 100644
--- a/drivers/net/wireless/ath/ath10k/spectral.c
+++ b/drivers/net/wireless/ath/ath10k/spectral.c
@@ -497,7 +497,7 @@ static int remove_buf_file_handler(struct dentry *dentry)
return 0;
}
-static struct rchan_callbacks rfs_spec_scan_cb = {
+static const struct rchan_callbacks rfs_spec_scan_cb = {
.create_buf_file = create_buf_file_handler,
.remove_buf_file = remove_buf_file_handler,
};
--
2.20.1
More information about the Intel-gfx
mailing list