]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: constify more pointers in the cfg80211 API
authorJohannes Berg <johannes.berg@intel.com>
Mon, 19 May 2014 15:53:16 +0000 (17:53 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 19 May 2014 15:53:16 +0000 (17:53 +0200)
commited0c2e3d8b9a820597165be62697f067c1b0dfe0
tree41e8b20e1c93e142f5dfbca513fbb770445102c6
parentbeaaf3bc2cb374566f2d70fbbf7ad3a3b43bd968
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>
12 files changed:
drivers/net/wireless/ath/ath6kl/wmi.c
drivers/net/wireless/ath/ath6kl/wmi.h
drivers/net/wireless/libertas/cfg.c
drivers/net/wireless/libertas/defs.h
drivers/net/wireless/orinoco/hw.c
drivers/net/wireless/orinoco/hw.h
drivers/net/wireless/orinoco/wext.c
drivers/staging/wlan-ng/cfg80211.c
include/net/cfg80211.h
net/wireless/ibss.c
net/wireless/sme.c
net/wireless/util.c