diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2014-06-07 17:00:53 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2014-06-07 17:00:53 +0000 |
commit | 27bec1191fa779e7636189eb3b58c85194699a21 (patch) | |
tree | 1e59d39cd6228c2b0e51f0c1fe0f165db143dd18 /package/kernel/broadcom-wl/src | |
parent | 3949f5dbb8f0fa67210e4bbfc33f77ae24ac8a40 (diff) | |
download | upstream-27bec1191fa779e7636189eb3b58c85194699a21.tar.gz upstream-27bec1191fa779e7636189eb3b58c85194699a21.tar.bz2 upstream-27bec1191fa779e7636189eb3b58c85194699a21.zip |
broadcom-wl: fix build with bcma or ssb deactivated
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41046 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/broadcom-wl/src')
-rw-r--r-- | package/kernel/broadcom-wl/src/glue/wl_glue.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/kernel/broadcom-wl/src/glue/wl_glue.c b/package/kernel/broadcom-wl/src/glue/wl_glue.c index fc94ac0b25..8f88cfbcb0 100644 --- a/package/kernel/broadcom-wl/src/glue/wl_glue.c +++ b/package/kernel/broadcom-wl/src/glue/wl_glue.c @@ -268,17 +268,17 @@ static int __init wl_glue_init(void) */ switch (bcm47xx_bus_type) { -#ifdef CONFIG_SSB +#ifdef CONFIG_BCM47XX_SSB case BCM47XX_BUS_TYPE_SSB: active_bus_type = WL_GLUE_BUS_TYPE_SSB; break; -#endif /* CONFIG_SSB */ +#endif /* CONFIG_BCM47XX_SSB */ -#ifdef CONFIG_BCMA +#ifdef CONFIG_BCM47XX_BCMA case BCM47XX_BUS_TYPE_BCMA: active_bus_type = WL_GLUE_BUS_TYPE_BCMA; break; -#endif /* CONFIG_BCMA */ +#endif /* CONFIG_BCM47XX_BCMA */ } #endif /* CONFIG_BCM47XX */ |