提交 d81f9a09 编写于 作者: K kbuild test robot 提交者: John W. Linville

ath9k: ath9k_op_ps_wakeup() can be static

drivers/net/wireless/ath/ath9k/init.c:91:6: sparse: symbol 'ath9k_op_ps_wakeup' was not declared. Should it be static?
drivers/net/wireless/ath/ath9k/init.c:96:6: sparse: symbol 'ath9k_op_ps_restore' was not declared. Should it be static?
drivers/net/wireless/ath/ath9k/init.c:101:19: sparse: symbol 'ath9k_ps_ops' was not declared. Should it be static?
Signed-off-by: NFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 0013c7ce
...@@ -88,17 +88,17 @@ static const struct ieee80211_tpt_blink ath9k_tpt_blink[] = { ...@@ -88,17 +88,17 @@ static const struct ieee80211_tpt_blink ath9k_tpt_blink[] = {
static void ath9k_deinit_softc(struct ath_softc *sc); static void ath9k_deinit_softc(struct ath_softc *sc);
void ath9k_op_ps_wakeup(struct ath_common *common) static void ath9k_op_ps_wakeup(struct ath_common *common)
{ {
ath9k_ps_wakeup((struct ath_softc *) common->priv); ath9k_ps_wakeup((struct ath_softc *) common->priv);
} }
void ath9k_op_ps_restore(struct ath_common *common) static void ath9k_op_ps_restore(struct ath_common *common)
{ {
ath9k_ps_restore((struct ath_softc *) common->priv); ath9k_ps_restore((struct ath_softc *) common->priv);
} }
struct ath_ps_ops ath9k_ps_ops = { static struct ath_ps_ops ath9k_ps_ops = {
.wakeup = ath9k_op_ps_wakeup, .wakeup = ath9k_op_ps_wakeup,
.restore = ath9k_op_ps_restore, .restore = ath9k_op_ps_restore,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册