summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/broadcom-diag/src/diag.c2
-rw-r--r--package/broadcom-wl/src/glue/wl_glue.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c
index 8e7ffa6cc..5ff1c278b 100644
--- a/package/broadcom-diag/src/diag.c
+++ b/package/broadcom-diag/src/diag.c
@@ -1465,7 +1465,7 @@ static int __init diag_init(void)
static struct platform_t *detected;
#ifdef CONFIG_BCM47XX_SSB
- if (bcm47xx_active_bus_type != BCM47XX_BUS_TYPE_SSB) {
+ if (bcm47xx_bus_type != BCM47XX_BUS_TYPE_SSB) {
printk(MODULE_NAME ": bcma bus is not supported.\n");
return -ENODEV;
}
diff --git a/package/broadcom-wl/src/glue/wl_glue.c b/package/broadcom-wl/src/glue/wl_glue.c
index 18e2b3a58..638a65321 100644
--- a/package/broadcom-wl/src/glue/wl_glue.c
+++ b/package/broadcom-wl/src/glue/wl_glue.c
@@ -274,7 +274,7 @@ static int __init wl_glue_init(void)
* determine the used one from the info set by the
* platform setup code.
*/
- switch (bcm47xx_active_bus_type)
+ switch (bcm47xx_bus_type)
{
#ifdef CONFIG_SSB
case BCM47XX_BUS_TYPE_SSB: