bcma: fix CC driver compilation on MIPS
authorRafał Miłecki <zajec5@gmail.com>
Mon, 9 Jul 2012 17:34:59 +0000 (19:34 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 11 Jul 2012 19:40:21 +0000 (15:40 -0400)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/driver_chipcommon.c

index 61c19cef59a732526edea0405b2d964f39e420f0..a4c3ebcc4c8609de39d7331d23b24bd830ac77cf 100644 (file)
@@ -137,7 +137,7 @@ void bcma_chipco_serial_init(struct bcma_drv_cc *cc)
                                       | BCMA_CC_CORECTL_UARTCLKEN);
                }
        } else {
-               bcma_err(bus, "serial not supported on this device ccrev: 0x%x\n", ccrev);
+               bcma_err(cc->core->bus, "serial not supported on this device ccrev: 0x%x\n", ccrev);
                return;
        }