diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2014-11-11 17:19:48 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-11-17 15:32:13 -0500 |
commit | d81f9a09bcd4fa3a4ba54bb02e94d2b6f30a889d (patch) | |
tree | a4c577f8a9845adc856154970a48238b4c6e7764 | |
parent | 0013c7cebed676ea47d108176db138fe867ee401 (diff) |
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: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath/ath9k/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c index 4124140a4d35..41736e5a49e0 100644 --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c | |||
@@ -88,17 +88,17 @@ static const struct ieee80211_tpt_blink ath9k_tpt_blink[] = { | |||
88 | 88 | ||
89 | static void ath9k_deinit_softc(struct ath_softc *sc); | 89 | static void ath9k_deinit_softc(struct ath_softc *sc); |
90 | 90 | ||
91 | void ath9k_op_ps_wakeup(struct ath_common *common) | 91 | static void ath9k_op_ps_wakeup(struct ath_common *common) |
92 | { | 92 | { |
93 | ath9k_ps_wakeup((struct ath_softc *) common->priv); | 93 | ath9k_ps_wakeup((struct ath_softc *) common->priv); |
94 | } | 94 | } |
95 | 95 | ||
96 | void ath9k_op_ps_restore(struct ath_common *common) | 96 | static void ath9k_op_ps_restore(struct ath_common *common) |
97 | { | 97 | { |
98 | ath9k_ps_restore((struct ath_softc *) common->priv); | 98 | ath9k_ps_restore((struct ath_softc *) common->priv); |
99 | } | 99 | } |
100 | 100 | ||
101 | struct ath_ps_ops ath9k_ps_ops = { | 101 | static struct ath_ps_ops ath9k_ps_ops = { |
102 | .wakeup = ath9k_op_ps_wakeup, | 102 | .wakeup = ath9k_op_ps_wakeup, |
103 | .restore = ath9k_op_ps_restore, | 103 | .restore = ath9k_op_ps_restore, |
104 | }; | 104 | }; |