[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <7db0286c428f3a478dd7544afef04a3b131f1aa0.1606153547.git.jani.nikula@intel.com>
Date: Mon, 23 Nov 2020 19:59:28 +0200
From: Jani Nikula <jani.nikula@...el.com>
To: linux-kernel@...r.kernel.org
Cc: Christoph Hellwig <hch@...radead.org>,
Andrew Morton <akpm@...ux-foundation.org>,
intel-gfx@...ts.freedesktop.org, jani.nikula@...el.com,
Kalle Valo <kvalo@...eaurora.org>,
QCA ath9k Development <ath9k-devel@....qualcomm.com>,
linux-wireless@...r.kernel.org
Subject: [PATCH 8/9] ath9k: make relay callbacks const
Now that relay_open() accepts const callbacks, make relay callbacks
const.
Cc: Kalle Valo <kvalo@...eaurora.org>
Cc: QCA ath9k Development <ath9k-devel@....qualcomm.com>
Cc: linux-wireless@...r.kernel.org
Acked-by: Kalle Valo <kvalo@...eaurora.org>
Signed-off-by: Jani Nikula <jani.nikula@...el.com>
---
drivers/net/wireless/ath/ath9k/common-spectral.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath9k/common-spectral.c b/drivers/net/wireless/ath/ath9k/common-spectral.c
index 21191955a7c1..e055adfb5361 100644
--- a/drivers/net/wireless/ath/ath9k/common-spectral.c
+++ b/drivers/net/wireless/ath/ath9k/common-spectral.c
@@ -1053,7 +1053,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
Powered by blists - more mailing lists