From: Jani Nikula <jani.nikula@intel.com>
To: linux-kernel@vger.kernel.org
Cc: Christoph Hellwig <hch@infradead.org>,
Andrew Morton <akpm@linux-foundation.org>,
intel-gfx@lists.freedesktop.org, jani.nikula@intel.com,
Kalle Valo <kvalo@codeaurora.org>,
QCA ath9k Development <ath9k-devel@qca.qualcomm.com>,
linux-wireless@vger.kernel.org
Subject: [PATCH 8/9] ath9k: make relay callbacks const
Date: Mon, 23 Nov 2020 19:59:28 +0200 [thread overview]
Message-ID: <7db0286c428f3a478dd7544afef04a3b131f1aa0.1606153547.git.jani.nikula@intel.com> (raw)
In-Reply-To: <cover.1606153547.git.jani.nikula@intel.com>
Now that relay_open() accepts const callbacks, make relay callbacks
const.
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: QCA ath9k Development <ath9k-devel@qca.qualcomm.com>
Cc: linux-wireless@vger.kernel.org
Acked-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Jani Nikula <jani.nikula@intel.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
next prev parent reply other threads:[~2020-11-23 18:01 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-23 17:59 [PATCH 0/9] relay: cleanup and const callbacks, take 2 Jani Nikula
2020-11-23 17:59 ` [PATCH 1/9] relay: remove unused buf_mapped and buf_unmapped callbacks Jani Nikula
2020-11-24 9:37 ` Christoph Hellwig
2020-11-23 17:59 ` [PATCH 2/9] relay: require non-NULL callbacks in relay_open() Jani Nikula
2020-11-24 9:37 ` Christoph Hellwig
2020-11-23 17:59 ` [PATCH 3/9] relay: make create_buf_file and remove_buf_file callbacks mandatory Jani Nikula
2020-11-24 9:37 ` Christoph Hellwig
2020-11-23 17:59 ` [PATCH 4/9] relay: allow the use of const callback structs Jani Nikula
2020-11-24 9:42 ` Christoph Hellwig
2020-11-24 11:54 ` [PATCH v3] " Jani Nikula
2020-11-24 11:56 ` [PATCH 4/9] " Jani Nikula
2020-11-23 17:59 ` [PATCH 5/9] drm/i915: make relay callbacks const Jani Nikula
2020-11-24 9:42 ` Christoph Hellwig
2020-11-23 17:59 ` [PATCH 6/9] ath10k: " Jani Nikula
2020-11-24 9:42 ` Christoph Hellwig
2020-11-23 17:59 ` [PATCH 7/9] ath11k: " Jani Nikula
2020-11-24 9:42 ` Christoph Hellwig
2020-11-23 17:59 ` Jani Nikula [this message]
2020-11-24 9:42 ` [PATCH 8/9] ath9k: " Christoph Hellwig
2020-11-23 17:59 ` [PATCH 9/9] blktrace: " Jani Nikula
2020-11-24 9:43 ` Christoph Hellwig
2020-11-23 18:06 ` [PATCH 0/9] relay: cleanup and const callbacks, take 2 Kalle Valo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7db0286c428f3a478dd7544afef04a3b131f1aa0.1606153547.git.jani.nikula@intel.com \
--to=jani.nikula@intel.com \
--cc=akpm@linux-foundation.org \
--cc=ath9k-devel@qca.qualcomm.com \
--cc=hch@infradead.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=kvalo@codeaurora.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®