diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2014-06-20 17:22:01 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-06-20 14:13:46 -0400 |
commit | 418378fed0506b5ec0b43c03bc11929ec1f88073 (patch) | |
tree | 0ac941b24dc04c6ae1f4b2ce5e286ac03edeb047 /drivers/net/wireless/b43/phy_common.c | |
parent | bba4d409cbd322a0b78768a6dda013baed2b5a36 (diff) |
b43: add config for (en|dis)abling G-PHY support
This allows new devices users to save some space.
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/phy_common.c')
-rw-r--r-- | drivers/net/wireless/b43/phy_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/phy_common.c b/drivers/net/wireless/b43/phy_common.c index ce486eeaf8e1..3cbef21b4726 100644 --- a/drivers/net/wireless/b43/phy_common.c +++ b/drivers/net/wireless/b43/phy_common.c @@ -46,7 +46,9 @@ int b43_phy_allocate(struct b43_wldev *dev) switch (phy->type) { case B43_PHYTYPE_G: +#ifdef CONFIG_B43_PHY_G phy->ops = &b43_phyops_g; +#endif break; case B43_PHYTYPE_N: #ifdef CONFIG_B43_PHY_N |