rtw88: fix sparse warnings for power tracking
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Fri, 25 Oct 2019 08:32:00 +0000 (16:32 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 31 Oct 2019 08:03:12 +0000 (10:03 +0200)
commita969cf42e5fecbbcc04354dd22b851daa6ab5b30
tree09d6c74ec11bd878452fbb006447919b7ce47ab6
parent1f592108bbd0c7eecfb0e60fd8f6690e134dc254
rtw88: fix sparse warnings for power tracking

sparse warnings:
    drivers/net/wireless/realtek/rtw88/rtw8822b.c:1440:6: sparse: sparse:
    symbol 'rtw8822b_pwr_track' was not declared. Should it be static?
    drivers/net/wireless/realtek/rtw88/rtw8822c.c:1008:6: sparse: sparse:
    symbol 'rtw8822c_pwrtrack_init' was not declared. Should it be static?

Fixes: c97ee3e0bea2 ("rtw88: add power tracking support")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/rtw8822b.c
drivers/net/wireless/realtek/rtw88/rtw8822c.c