diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2011-06-14 08:18:59 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-17 14:22:22 -0400 |
commit | aec7ffdf4ff24df1fe85ed5bc9e050c4dd77617b (patch) | |
tree | 3d5183e13e11353e5dd01fcc58b8a9ed33fff1f2 /drivers/net/wireless/b43/bus.c | |
parent | 545a8aa793e04bee7a7e2aa8caa70bed94fd7a5c (diff) | |
download | lwn-aec7ffdf4ff24df1fe85ed5bc9e050c4dd77617b.tar.gz lwn-aec7ffdf4ff24df1fe85ed5bc9e050c4dd77617b.zip |
b43: add Kconfig option for compiling SSB driver
It is always "y" for now, b43 will not compile without CONFIG_SSB yet.
This is just a first step of dropping SSB dependency.
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.c')
-rw-r--r-- | drivers/net/wireless/b43/bus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/bus.c b/drivers/net/wireless/b43/bus.c index 8a10b82f8ea7..4200713eb597 100644 --- a/drivers/net/wireless/b43/bus.c +++ b/drivers/net/wireless/b43/bus.c @@ -25,7 +25,7 @@ /* SSB */ - +#ifdef CONFIG_B43_SSB static inline int b43_bus_ssb_bus_may_powerdown(struct b43_bus_dev *dev) { return ssb_bus_may_powerdown(dev->sdev->bus); @@ -124,3 +124,4 @@ struct b43_bus_dev *b43_bus_dev_ssb_init(struct ssb_device *sdev) return dev; } +#endif /* CONFIG_B43_SSB */ |