From: Hauke Mehrtens Date: Sat, 7 Jun 2014 17:00:53 +0000 (+0000) Subject: broadcom-wl: fix build with bcma or ssb deactivated X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d72ff79546d61f99b22915de183ae67f09158441;p=librecmc%2Flibrecmc.git broadcom-wl: fix build with bcma or ssb deactivated Signed-off-by: Hauke Mehrtens SVN-Revision: 41046 --- 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 */