aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/core.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-01-14 20:17:07 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 16:00:32 -0500
commit09329d371e57ff9fcb645b8e2cdee1ec8b9b539f (patch)
tree09fa81d882f87345dbe15c0ac07b1a3db4c05615 /drivers/net/wireless/ath9k/core.h
parent6baff7f9a6c571dcd9a59820e3c094f7490cb0fd (diff)
downloadkernel_goldelico_gta04-09329d371e57ff9fcb645b8e2cdee1ec8b9b539f.zip
kernel_goldelico_gta04-09329d371e57ff9fcb645b8e2cdee1ec8b9b539f.tar.gz
kernel_goldelico_gta04-09329d371e57ff9fcb645b8e2cdee1ec8b9b539f.tar.bz2
ath9k: introduce platform driver for AHB bus support
This patch adds the platform_driver itself, and modifies the main driver to register it. Changes-licensed-under: ISC Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> Tested-by: Pavel Roskin <proski@gnu.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/core.h')
-rw-r--r--drivers/net/wireless/ath9k/core.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/core.h b/drivers/net/wireless/ath9k/core.h
index 1e86a9c..c5dae11 100644
--- a/drivers/net/wireless/ath9k/core.h
+++ b/drivers/net/wireless/ath9k/core.h
@@ -784,4 +784,12 @@ static inline int ath_pci_init(void) { return 0; };
static inline void ath_pci_exit(void) {};
#endif
+#ifdef CONFIG_ATHEROS_AR71XX
+int ath_ahb_init(void);
+void ath_ahb_exit(void);
+#else
+static inline int ath_ahb_init(void) { return 0; };
+static inline void ath_ahb_exit(void) {};
+#endif
+
#endif /* CORE_H */