]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/wireless/ath/main.c
ath9k: add a helper to get the string representation of ath_bus_type
[karo-tx-linux.git] / drivers / net / wireless / ath / main.c
index 338d723376043e78d813b1423f3c93e14cec820b..89f4b0513946916230dad4529df7c2d30402f2d8 100644 (file)
@@ -90,3 +90,10 @@ void ath_printk(const char *level, const struct ath_common* common,
        va_end(args);
 }
 EXPORT_SYMBOL(ath_printk);
+
+const char *ath_bus_type_strings[] = {
+       [ATH_PCI] = "pci",
+       [ATH_AHB] = "ahb",
+       [ATH_USB] = "usb",
+};
+EXPORT_SYMBOL(ath_bus_type_strings);