diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-01-20 22:55:44 (GMT) |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-02-04 20:48:21 (GMT) |
commit | 8a47cea7d4a25babf14d02be8aabb98949dd2bed (patch) | |
tree | ad6bf9c6a4d0380925cc0b8ba466e31a588b7e88 /net/mac80211/ieee80211_i.h | |
parent | 631ad703ba3a585e96acbfd2ac8c0f0fee1ad99b (diff) | |
download | linux-8a47cea7d4a25babf14d02be8aabb98949dd2bed.tar.xz |
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/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 96eb272..d37dc75 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -1608,7 +1608,7 @@ static inline int __ieee80211_resume(struct ieee80211_hw *hw) } /* utility functions/constants */ -extern void *mac80211_wiphy_privid; /* for wiphy privid */ +extern const void *const mac80211_wiphy_privid; /* for wiphy privid */ u8 *ieee80211_get_bssid(struct ieee80211_hdr *hdr, size_t len, enum nl80211_iftype type); int ieee80211_frame_duration(enum ieee80211_band band, size_t len, |