brcm47xx: update patches
[openwrt/svn-archive/archive.git] / package / broadcom-diag / src / diag.c
index 8e7ffa6cc77aaa347e8c14e51f2ce9090a4f5382..5ff1c278b8e67bbd5090836d476329f8b0bd87ba 100644 (file)
@@ -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;
        }