summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ahb.c
diff options
context:
space:
mode:
authorSujith2010-04-01 06:58:20 +0200
committerJohn W. Linville2010-04-06 22:55:09 +0200
commit497ad9adf44013dc9054f80c627acc44d4c90d37 (patch)
tree9690a124fe37329de7538ff67f4b32dbb56a9924 /drivers/net/wireless/ath/ath9k/ahb.c
parentath9k: fix compile error without debug enabled (diff)
downloadkernel-qcow2-linux-497ad9adf44013dc9054f80c627acc44d4c90d37.tar.gz
kernel-qcow2-linux-497ad9adf44013dc9054f80c627acc44d4c90d37.tar.xz
kernel-qcow2-linux-497ad9adf44013dc9054f80c627acc44d4c90d37.zip
ath: Add a bus type field
This can be used to store the bus types ( AHB/PCI/USB ). Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ahb.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/ahb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ahb.c b/drivers/net/wireless/ath/ath9k/ahb.c
index ca4994f13151..85fdd26039c8 100644
--- a/drivers/net/wireless/ath/ath9k/ahb.c
+++ b/drivers/net/wireless/ath/ath9k/ahb.c
@@ -47,6 +47,7 @@ static bool ath_ahb_eeprom_read(struct ath_common *common, u32 off, u16 *data)
}
static struct ath_bus_ops ath_ahb_bus_ops = {
+ .ath_bus_type = ATH_AHB,
.read_cachesize = ath_ahb_read_cachesize,
.eeprom_read = ath_ahb_eeprom_read,
};