broadcom-wl: fix build with bcma or ssb deactivated
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 7 Jun 2014 17:00:53 +0000 (17:00 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 7 Jun 2014 17:00:53 +0000 (17:00 +0000)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 41046

package/kernel/broadcom-wl/src/glue/wl_glue.c

index fc94ac0b25bc2eec10af3c64df2ee07f327673fb..8f88cfbcb07a3f23c0078d540e531e264b651229 100644 (file)
@@ -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 */