b43: add bus device abstraction layer
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
aa63418aa7
commit
482f053862
17
drivers/net/wireless/b43/bus.h
Normal file
17
drivers/net/wireless/b43/bus.h
Normal file
@@ -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_ */
|
Reference in New Issue
Block a user