diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-05-19 17:53:16 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-05-19 17:53:16 +0200 |
commit | c1e5f4714d591cc0a5e986613fdefa61abe98ac2 (patch) | |
tree | 41e8b20e1c93e142f5dfbca513fbb770445102c6 /drivers/staging | |
parent | 3b3a0162fade6b83d5c83efafcd5adb9e4537047 (diff) | |
download | linux-stable-c1e5f4714d591cc0a5e986613fdefa61abe98ac2.tar.gz linux-stable-c1e5f4714d591cc0a5e986613fdefa61abe98ac2.tar.bz2 linux-stable-c1e5f4714d591cc0a5e986613fdefa61abe98ac2.zip |
cfg80211: constify more pointers in the cfg80211 API
This also propagates through the drivers.
The orinoco driver uses the cfg80211 API structs for internal
bookkeeping, and so needs a (void *) cast that removes the
const - but that's OK because it allocates those pointers.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/wlan-ng/cfg80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c index f7eb8163d4fb..723319ee08f3 100644 --- a/drivers/staging/wlan-ng/cfg80211.c +++ b/drivers/staging/wlan-ng/cfg80211.c @@ -84,7 +84,7 @@ static int prism2_domibset_uint32(wlandevice_t *wlandev, u32 did, u32 data) } static int prism2_domibset_pstr32(wlandevice_t *wlandev, - u32 did, u8 len, u8 *data) + u32 did, u8 len, const u8 *data) { struct p80211msg_dot11req_mibset msg; p80211item_pstr32_t *mibitem = |