浏览代码

ath9k: make ath_get_hal_qnum static

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Felix Fietkau 15 年之前
父节点
当前提交
ebe297c35d
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 0 1
      drivers/net/wireless/ath/ath9k/ath9k.h
  2. 1 1
      drivers/net/wireless/ath/ath9k/main.c

+ 0 - 1
drivers/net/wireless/ath/ath9k/ath9k.h

@@ -612,7 +612,6 @@ struct ath_wiphy {
 
 void ath9k_tasklet(unsigned long data);
 int ath_reset(struct ath_softc *sc, bool retry_tx);
-int ath_get_hal_qnum(u16 queue, struct ath_softc *sc);
 int ath_get_mac80211_qnum(u32 queue, struct ath_softc *sc);
 int ath_cabq_update(struct ath_softc *);
 

+ 1 - 1
drivers/net/wireless/ath/ath9k/main.c

@@ -808,7 +808,7 @@ int ath_reset(struct ath_softc *sc, bool retry_tx)
 	return r;
 }
 
-int ath_get_hal_qnum(u16 queue, struct ath_softc *sc)
+static int ath_get_hal_qnum(u16 queue, struct ath_softc *sc)
 {
 	int qnum;