diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-01-20 17:55:44 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-02-04 15:48:21 -0500 |
commit | 8a47cea7d4a25babf14d02be8aabb98949dd2bed (patch) | |
tree | ad6bf9c6a4d0380925cc0b8ba466e31a588b7e88 /net/mac80211/util.c | |
parent | 631ad703ba3a585e96acbfd2ac8c0f0fee1ad99b (diff) |
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/util.c')
-rw-r--r-- | net/mac80211/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index 676dc0967f37..128a0c57a0d3 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include "wep.h" | 34 | #include "wep.h" |
35 | 35 | ||
36 | /* privid for wiphys to determine whether they belong to us or not */ | 36 | /* privid for wiphys to determine whether they belong to us or not */ |
37 | void *mac80211_wiphy_privid = &mac80211_wiphy_privid; | 37 | const void *const mac80211_wiphy_privid = &mac80211_wiphy_privid; |
38 | 38 | ||
39 | struct ieee80211_hw *wiphy_to_ieee80211_hw(struct wiphy *wiphy) | 39 | struct ieee80211_hw *wiphy_to_ieee80211_hw(struct wiphy *wiphy) |
40 | { | 40 | { |