From d72ff79546d61f99b22915de183ae67f09158441 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 7 Jun 2014 17:00:53 +0000 Subject: [PATCH] broadcom-wl: fix build with bcma or ssb deactivated Signed-off-by: Hauke Mehrtens SVN-Revision: 41046 --- package/kernel/broadcom-wl/src/glue/wl_glue.c | 8 ++++---- 1 file 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 fc94ac0b25bc..8f88cfbcb07a 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 */ -- 2.30.2