diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-01-14 20:17:07 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:00:32 -0500 |
commit | 09329d371e57ff9fcb645b8e2cdee1ec8b9b539f (patch) | |
tree | 09fa81d882f87345dbe15c0ac07b1a3db4c05615 /drivers/net/wireless/ath9k/core.h | |
parent | 6baff7f9a6c571dcd9a59820e3c094f7490cb0fd (diff) | |
download | kernel_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.h | 8 |
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 */ |