mac80211: make rate control ops const
authorJohannes Berg <johannes.berg@intel.com>
Mon, 20 Jan 2014 22:29:34 +0000 (23:29 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Feb 2014 20:48:21 +0000 (21:48 +0100)
commit631ad703ba3a585e96acbfd2ac8c0f0fee1ad99b
tree8c65d36d787a5ef4e2aa6e9ac7306e22349dfcb2
parentc1cf6d4e6f17406c4fd7b0f4fae779fa61666cc3
mac80211: make rate control ops const

Change the code to allow making all the rate control ops
const, nothing ever needs to change them. Also change all
drivers to make use of this and mark the ops const.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
13 files changed:
drivers/net/wireless/ath/ath9k/rc.c
drivers/net/wireless/iwlegacy/3945-rs.c
drivers/net/wireless/iwlegacy/4965-rs.c
drivers/net/wireless/iwlwifi/dvm/rs.c
drivers/net/wireless/iwlwifi/mvm/rs.c
drivers/net/wireless/rtlwifi/rc.c
include/net/mac80211.h
net/mac80211/rate.c
net/mac80211/rate.h
net/mac80211/rc80211_minstrel.c
net/mac80211/rc80211_minstrel.h
net/mac80211/rc80211_minstrel_ht.c
net/mac80211/rc80211_pid_algo.c