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: c97ee3e0be
("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>
This commit is contained in:
parent
1f592108bb
commit
a969cf42e5
|
@ -1492,7 +1492,7 @@ iqk:
|
|||
rtw8822b_do_iqk(rtwdev);
|
||||
}
|
||||
|
||||
void rtw8822b_pwr_track(struct rtw_dev *rtwdev)
|
||||
static void rtw8822b_pwr_track(struct rtw_dev *rtwdev)
|
||||
{
|
||||
struct rtw_efuse *efuse = &rtwdev->efuse;
|
||||
struct rtw_dm_info *dm_info = &rtwdev->dm_info;
|
||||
|
|
|
@ -1006,7 +1006,7 @@ static void rtw8822c_rf_init(struct rtw_dev *rtwdev)
|
|||
rtw8822c_rf_x2_check(rtwdev);
|
||||
}
|
||||
|
||||
void rtw8822c_pwrtrack_init(struct rtw_dev *rtwdev)
|
||||
static void rtw8822c_pwrtrack_init(struct rtw_dev *rtwdev)
|
||||
{
|
||||
struct rtw_dm_info *dm_info = &rtwdev->dm_info;
|
||||
u8 path;
|
||||
|
|
Loading…
Reference in New Issue