Commit 7d031552 authored by kbuild test robot's avatar kbuild test robot Committed by John W. Linville

ath9k_htc: ath9k_htc_op_ps_wakeup() can be static

drivers/net/wireless/ath/ath9k/htc_drv_init.c:56:6: sparse: symbol 'ath9k_htc_op_ps_wakeup' was not declared. Should it be static?
drivers/net/wireless/ath/ath9k/htc_drv_init.c:61:6: sparse: symbol 'ath9k_htc_op_ps_restore' was not declared. Should it be static?
drivers/net/wireless/ath/ath9k/htc_drv_init.c:66:19: sparse: symbol 'ath9k_htc_ps_ops' was not declared. Should it be static?
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent d81f9a09
...@@ -53,17 +53,17 @@ static const struct ieee80211_tpt_blink ath9k_htc_tpt_blink[] = { ...@@ -53,17 +53,17 @@ static const struct ieee80211_tpt_blink ath9k_htc_tpt_blink[] = {
}; };
#endif #endif
void ath9k_htc_op_ps_wakeup(struct ath_common *common) static void ath9k_htc_op_ps_wakeup(struct ath_common *common)
{ {
ath9k_htc_ps_wakeup((struct ath9k_htc_priv *) common->priv); ath9k_htc_ps_wakeup((struct ath9k_htc_priv *) common->priv);
} }
void ath9k_htc_op_ps_restore(struct ath_common *common) static void ath9k_htc_op_ps_restore(struct ath_common *common)
{ {
ath9k_htc_ps_restore((struct ath9k_htc_priv *) common->priv); ath9k_htc_ps_restore((struct ath9k_htc_priv *) common->priv);
} }
struct ath_ps_ops ath9k_htc_ps_ops = { static struct ath_ps_ops ath9k_htc_ps_ops = {
.wakeup = ath9k_htc_op_ps_wakeup, .wakeup = ath9k_htc_op_ps_wakeup,
.restore = ath9k_htc_op_ps_restore, .restore = ath9k_htc_op_ps_restore,
}; };
......
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