diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2014-11-11 17:24:17 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-11-17 15:32:14 -0500 |
commit | 7d031552661ba61f9f258ec21272b4eafa9c21b4 (patch) | |
tree | d6afa859c425dc86ca33f2de130873184e00fb33 | |
parent | d81f9a09bcd4fa3a4ba54bb02e94d2b6f30a889d (diff) |
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: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c index ad8f1dcc9cd5..e8fa9448da24 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c | |||
@@ -53,17 +53,17 @@ static const struct ieee80211_tpt_blink ath9k_htc_tpt_blink[] = { | |||
53 | }; | 53 | }; |
54 | #endif | 54 | #endif |
55 | 55 | ||
56 | void ath9k_htc_op_ps_wakeup(struct ath_common *common) | 56 | static void ath9k_htc_op_ps_wakeup(struct ath_common *common) |
57 | { | 57 | { |
58 | ath9k_htc_ps_wakeup((struct ath9k_htc_priv *) common->priv); | 58 | ath9k_htc_ps_wakeup((struct ath9k_htc_priv *) common->priv); |
59 | } | 59 | } |
60 | 60 | ||
61 | void ath9k_htc_op_ps_restore(struct ath_common *common) | 61 | static void ath9k_htc_op_ps_restore(struct ath_common *common) |
62 | { | 62 | { |
63 | ath9k_htc_ps_restore((struct ath9k_htc_priv *) common->priv); | 63 | ath9k_htc_ps_restore((struct ath9k_htc_priv *) common->priv); |
64 | } | 64 | } |
65 | 65 | ||
66 | struct ath_ps_ops ath9k_htc_ps_ops = { | 66 | static struct ath_ps_ops ath9k_htc_ps_ops = { |
67 | .wakeup = ath9k_htc_op_ps_wakeup, | 67 | .wakeup = ath9k_htc_op_ps_wakeup, |
68 | .restore = ath9k_htc_op_ps_restore, | 68 | .restore = ath9k_htc_op_ps_restore, |
69 | }; | 69 | }; |