summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/bus.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-05-18 02:06:36 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-06-01 21:10:56 +0200
commit482f05386218a028309a71ad36066ee64b7a820d (patch)
tree9883faaf44a9766cd97b550178018ebd570be60b /drivers/net/wireless/b43/bus.h
parentb43: rename ssb_device variable in ssb specific functions (diff)
downloadlinux-482f05386218a028309a71ad36066ee64b7a820d.tar.xz
linux-482f05386218a028309a71ad36066ee64b7a820d.zip
b43: add bus device abstraction layer
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/bus.h')
-rw-r--r--drivers/net/wireless/b43/bus.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/bus.h b/drivers/net/wireless/b43/bus.h
new file mode 100644
index 000000000000..68bc00a7458e
--- /dev/null
+++ b/drivers/net/wireless/b43/bus.h
@@ -0,0 +1,17 @@
+#ifndef B43_BUS_H_
+#define B43_BUS_H_
+
+enum b43_bus_type {
+ B43_BUS_SSB,
+};
+
+struct b43_bus_dev {
+ enum b43_bus_type bus_type;
+ union {
+ struct ssb_device *sdev;
+ };
+};
+
+struct b43_bus_dev *b43_bus_dev_ssb_init(struct ssb_device *sdev);
+
+#endif /* B43_BUS_H_ */