wifi: rtl8xxxu: make instances of iface limit and combination to be static const
authorPing-Ke Shih <pkshih@realtek.com>
Tue, 16 Jan 2024 08:09:45 +0000 (16:09 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 18 Jan 2024 09:36:57 +0000 (11:36 +0200)
commit92c7428f942da7dfcdc629b05b5114f80822d7a4
tree50e8c4640f6b6f2bf0be5e31bab35a7135a27c4e
parent426e7b4773921d07ab4ab8ba16fbad396d6c9971
wifi: rtl8xxxu: make instances of iface limit and combination to be static const

rtl8xxxu_limits and rtl8xxxu_combinations can be static const, so add
modifiers as desire. Otherwise, Sparse reports warnings

rtl8xxxu_core.c:7677:30: warning: symbol 'rtl8xxxu_limits' was not declared. Should it be static?
rtl8xxxu_core.c:7682:36: warning: symbol 'rtl8xxxu_combinations' was not declared. Should it be static?

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240116080945.20172-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c