summaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-01-20 23:55:44 +0100
committerJohannes Berg <johannes.berg@intel.com>2014-02-04 21:48:21 +0100
commit8a47cea7d4a25babf14d02be8aabb98949dd2bed (patch)
treead6bf9c6a4d0380925cc0b8ba466e31a588b7e88 /net/mac80211/cfg.c
parent631ad703ba3a585e96acbfd2ac8c0f0fee1ad99b (diff)
downloadlinux-8a47cea7d4a25babf14d02be8aabb98949dd2bed.tar.bz2
mac80211: make cfg80211 ops and privid const
The wiphy privid (to identify wiphys) and the cfg80211 ops should both be const, so change them to be. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index d2125a37014a..cf27c623394a 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -3918,7 +3918,7 @@ static int ieee80211_set_qos_map(struct wiphy *wiphy,
return 0;
}
-struct cfg80211_ops mac80211_config_ops = {
+const struct cfg80211_ops mac80211_config_ops = {
.add_virtual_intf = ieee80211_add_iface,
.del_virtual_intf = ieee80211_del_iface,
.change_virtual_intf = ieee80211_change_iface,