All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@qca.qualcomm.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] [PATCH 4/5] ath10k: make iee80211 iface combination structures static
Date: Wed, 24 Apr 2013 09:37:05 +0300	[thread overview]
Message-ID: <20130424063705.20002.71266.stgit@localhost6.localdomain6> (raw)
In-Reply-To: <20130424063524.20002.20647.stgit@localhost6.localdomain6>

Nothing modifies them.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
---
 drivers/net/wireless/ath/ath10k/mac.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index 60855fb..8f58dda 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -2531,7 +2531,7 @@ void ath10k_mac_destroy(struct ath10k *ar)
 	ieee80211_free_hw(ar->hw);
 }
 
-static struct ieee80211_iface_limit ath10k_if_limits[] = {
+static const struct ieee80211_iface_limit ath10k_if_limits[] = {
 	{
 	.max	= 8,
 	.types	= BIT(NL80211_IFTYPE_STATION)
@@ -2541,7 +2541,7 @@ static struct ieee80211_iface_limit ath10k_if_limits[] = {
 	}
 };
 
-static struct ieee80211_iface_combination ath10k_if_comb = {
+static const struct ieee80211_iface_combination ath10k_if_comb = {
 	.limits = ath10k_if_limits,
 	.n_limits = ARRAY_SIZE(ath10k_if_limits),
 	.max_interfaces = 8,

  parent reply	other threads:[~2013-04-24  6:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-24  6:36 [ath9k-devel] [PATCH 0/5] ath10k: making static variables const Kalle Valo
2013-04-24  6:36 ` [ath9k-devel] [PATCH 1/5] ath10k: make rx_legacy_rate_idx variable const Kalle Valo
2013-04-24  6:36 ` [ath9k-devel] [PATCH 2/5] ath10k: make host_ce_config_wlan static " Kalle Valo
2013-04-24  6:36 ` [ath9k-devel] [PATCH 3/5] ath10k: make target_ce_config_wlan and target_service_to_ce_map_wlan const Kalle Valo
2013-04-24  6:37 ` Kalle Valo [this message]
2013-04-24  7:39   ` [ath9k-devel] [PATCH 4/5] ath10k: make iee80211 iface combination structures static Michal Kazior
2013-04-24 10:25     ` Kalle Valo
2013-04-24  6:37 ` [ath9k-devel] [PATCH 5/5] ath10k: copy ieee80211_supported_band for each instance Kalle Valo
2013-04-24 11:18 ` [ath9k-devel] [PATCH 0/5] ath10k: making static variables const 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=20130424063705.20002.71266.stgit@localhost6.localdomain6 \
    --to=kvalo@qca.qualcomm.com \
    --cc=ath9k-devel@lists.ath9k.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.