rtw88: fix sparse warnings for download firmware routine
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Fri, 24 Apr 2020 10:12:55 +0000 (18:12 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 28 Apr 2020 08:43:59 +0000 (11:43 +0300)
commit3d8bf50860c7de09c9713b97ec2f87ad42338c7e
tree6d4b31e6c8dead00c87116ed5ce38da4400bde46
parent75e69fb11b40ba1256b14f943c7050682c1f5458
rtw88: fix sparse warnings for download firmware routine

sparse warnings: (new ones prefixed by >>)

>> drivers/net/wireless/realtek/rtw88/mac.c:653:5: sparse: sparse:
symbol '__rtw_download_firmware' was not declared. Should it be static?
>> drivers/net/wireless/realtek/rtw88/mac.c:817:5: sparse: sparse:
symbol '__rtw_download_firmware_legacy' was not declared. Should it be
static?

Fixes: 15d2fcc6b2de ("rtw88: add legacy firmware download for 8723D devices")
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>
Link: https://lore.kernel.org/r/20200424101255.28239-1-yhchuang@realtek.com
drivers/net/wireless/realtek/rtw88/mac.c