Commit b298800d authored by Chris Chiu's avatar Chris Chiu Committed by Kalle Valo

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: default avatarChris Chiu <chiu@endlessm.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 4fcef860
...@@ -5189,6 +5189,7 @@ static void rtl8xxxu_rx_urb_work(struct work_struct *work) ...@@ -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 * cases which Realtek doesn't provide detail for these settings. Keep
* this aligned with vendor driver for easier maintenance. * this aligned with vendor driver for easier maintenance.
*/ */
static
void rtl8723bu_set_coex_with_type(struct rtl8xxxu_priv *priv, u8 type) void rtl8723bu_set_coex_with_type(struct rtl8xxxu_priv *priv, u8 type)
{ {
switch (type) { switch (type) {
...@@ -5240,6 +5241,7 @@ void rtl8723bu_set_coex_with_type(struct rtl8xxxu_priv *priv, u8 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) void rtl8723bu_update_bt_link_info(struct rtl8xxxu_priv *priv, u8 bt_info)
{ {
struct rtl8xxxu_btcoex *btcoex = &priv->bt_coex; struct rtl8xxxu_btcoex *btcoex = &priv->bt_coex;
...@@ -5306,6 +5308,7 @@ void rtl8723bu_update_bt_link_info(struct rtl8xxxu_priv *priv, u8 bt_info) ...@@ -5306,6 +5308,7 @@ void rtl8723bu_update_bt_link_info(struct rtl8xxxu_priv *priv, u8 bt_info)
btcoex->bt_busy = false; btcoex->bt_busy = false;
} }
static
void rtl8723bu_handle_bt_inquiry(struct rtl8xxxu_priv *priv) void rtl8723bu_handle_bt_inquiry(struct rtl8xxxu_priv *priv)
{ {
struct ieee80211_vif *vif; struct ieee80211_vif *vif;
...@@ -5331,6 +5334,7 @@ void rtl8723bu_handle_bt_inquiry(struct rtl8xxxu_priv *priv) ...@@ -5331,6 +5334,7 @@ void rtl8723bu_handle_bt_inquiry(struct rtl8xxxu_priv *priv)
} }
} }
static
void rtl8723bu_handle_bt_info(struct rtl8xxxu_priv *priv) void rtl8723bu_handle_bt_info(struct rtl8xxxu_priv *priv)
{ {
struct ieee80211_vif *vif; struct ieee80211_vif *vif;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment