rtlwifi: constify rate_control_ops structure
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 7 Aug 2017 05:00:51 +0000 (10:30 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 8 Aug 2017 11:53:08 +0000 (14:53 +0300)
commitcb1b82625de7cbf30bb62672776c466615af84d2
tree3329265a531892ef57e9a7f15a4aabb410f79a3e
parent4f2949febc22260f217e5459afef6c1b90bb049c
rtlwifi: constify rate_control_ops structure

rate_control_ops structure is only passed as an argument to the
function ieee80211_rate_control_{register/unregister}. This argument
is of type const, so declare the structure as const.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rc.c