summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Chiu <chiu@endlessm.com>2019-10-23 18:54:07 +0800
committerKalle Valo <kvalo@codeaurora.org>2019-10-24 08:50:02 +0300
commitb298800dd8ee7250bf04b4dbd151e1a971b6df91 (patch)
treef9ee31fa7a72ed0ab61d3411ec7f7370e487309f
parent4fcef86091327d92008ca0328d45075343e7edea (diff)
downloadblackbird-op-linux-b298800dd8ee7250bf04b4dbd151e1a971b6df91.tar.gz
blackbird-op-linux-b298800dd8ee7250bf04b4dbd151e1a971b6df91.zip
rtl8xxxu: fix warnings for symbol not declared
Fix the following sparse warnings. sparse: symbol 'rtl8723bu_set_coex_with_type' was not declared. Should it be static? sparse: symbol 'rtl8723bu_update_bt_link_info' was not declared. Should it be static? sparse: symbol 'rtl8723bu_handle_bt_inquiry' was not declared. Should it be static? sparse: symbol 'rtl8723bu_handle_bt_info' was not declared. Should it be static? Signed-off-by: Chris Chiu <chiu@endlessm.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
-rw-r--r--drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
index 899a940e2fb2..bcb92831d376 100644
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
@@ -5189,6 +5189,7 @@ static void rtl8xxxu_rx_urb_work(struct work_struct *work)
* cases which Realtek doesn't provide detail for these settings. Keep
* this aligned with vendor driver for easier maintenance.
*/
+static
void rtl8723bu_set_coex_with_type(struct rtl8xxxu_priv *priv, u8 type)
{
switch (type) {
@@ -5240,6 +5241,7 @@ void rtl8723bu_set_coex_with_type(struct rtl8xxxu_priv *priv, u8 type)
}
}
+static
void rtl8723bu_update_bt_link_info(struct rtl8xxxu_priv *priv, u8 bt_info)
{
struct rtl8xxxu_btcoex *btcoex = &priv->bt_coex;
@@ -5306,6 +5308,7 @@ void rtl8723bu_update_bt_link_info(struct rtl8xxxu_priv *priv, u8 bt_info)
btcoex->bt_busy = false;
}
+static
void rtl8723bu_handle_bt_inquiry(struct rtl8xxxu_priv *priv)
{
struct ieee80211_vif *vif;
@@ -5331,6 +5334,7 @@ void rtl8723bu_handle_bt_inquiry(struct rtl8xxxu_priv *priv)
}
}
+static
void rtl8723bu_handle_bt_info(struct rtl8xxxu_priv *priv)
{
struct ieee80211_vif *vif;
OpenPOWER on IntegriCloud