summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/ath5k.h
diff options
context:
space:
mode:
authorFelix Fietkau2010-12-02 10:27:01 +0100
committerJohn W. Linville2010-12-02 21:17:50 +0100
commite5b046d86fac609f636d127a38de94a175c7e83b (patch)
treee76c838f1e8f65ee97483677ecb9ddb99f6bdf4e /drivers/net/wireless/ath/ath5k/ath5k.h
parentath5k: Introduce ath5k_init_softc function as in ath9k (diff)
downloadkernel-qcow2-linux-e5b046d86fac609f636d127a38de94a175c7e83b.tar.gz
kernel-qcow2-linux-e5b046d86fac609f636d127a38de94a175c7e83b.tar.xz
kernel-qcow2-linux-e5b046d86fac609f636d127a38de94a175c7e83b.zip
ath5k: Move PCI bus functions to separate file.
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/ath5k.h')
-rw-r--r--drivers/net/wireless/ath/ath5k/ath5k.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/ath5k.h b/drivers/net/wireless/ath/ath5k/ath5k.h
index a74f448f7d72..ee3c0af3ab3c 100644
--- a/drivers/net/wireless/ath/ath5k/ath5k.h
+++ b/drivers/net/wireless/ath/ath5k/ath5k.h
@@ -1145,6 +1145,7 @@ struct ath5k_hw {
/*
* Prototypes
*/
+extern const struct ieee80211_ops ath5k_hw_ops;
/* Initialization and detach functions */
int ath5k_init_softc(struct ath5k_softc *sc, const struct ath_bus_ops *bus_ops);
@@ -1155,6 +1156,8 @@ void ath5k_hw_deinit(struct ath5k_hw *ah);
int ath5k_sysfs_register(struct ath5k_softc *sc);
void ath5k_sysfs_unregister(struct ath5k_softc *sc);
+/*Chip id helper function */
+const char *ath5k_chip_name(enum ath5k_srev_type type, u_int16_t val);
/* LED functions */
int ath5k_init_leds(struct ath5k_softc *sc);