summaryrefslogtreecommitdiff
path: root/package/kernel/broadcom-wl/src
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-06-07 17:00:53 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2014-06-07 17:00:53 +0000
commitd72ff79546d61f99b22915de183ae67f09158441 (patch)
treeca1697d4a4d3df80513496d31bf6cb2559672a7b /package/kernel/broadcom-wl/src
parent281f4158858d202a0b5d63e145e7f1e927266587 (diff)
downloadmtk-20170518-d72ff79546d61f99b22915de183ae67f09158441.zip
mtk-20170518-d72ff79546d61f99b22915de183ae67f09158441.tar.gz
mtk-20170518-d72ff79546d61f99b22915de183ae67f09158441.tar.bz2
broadcom-wl: fix build with bcma or ssb deactivated
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41046
Diffstat (limited to 'package/kernel/broadcom-wl/src')
-rw-r--r--package/kernel/broadcom-wl/src/glue/wl_glue.c8
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 fc94ac0..8f88cfb 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 */