Author: hauke
Date: 2014-06-07 19:00:53 +0200 (Sat, 07 Jun 2014)
New Revision: 41046

Modified:
   trunk/package/kernel/broadcom-wl/src/glue/wl_glue.c
Log:
broadcom-wl: fix build with bcma or ssb deactivated

Signed-off-by: Hauke Mehrtens <[email protected]>


Modified: trunk/package/kernel/broadcom-wl/src/glue/wl_glue.c
===================================================================
--- trunk/package/kernel/broadcom-wl/src/glue/wl_glue.c 2014-06-07 16:14:47 UTC 
(rev 41045)
+++ trunk/package/kernel/broadcom-wl/src/glue/wl_glue.c 2014-06-07 17:00:53 UTC 
(rev 41046)
@@ -268,17 +268,17 @@
         */
        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 */
 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to