Merge tag 'xtensa-20121218' of git://github.com/czankel/xtensa-linux
[linux-2.6-block.git] / drivers / bcma / main.c
index debd4f142f936b084ff7d92c517188d7728cf332..53ba20ca17e0d00b1fc9087b540b41645c0f64bb 100644 (file)
@@ -164,6 +164,11 @@ static int bcma_register_cores(struct bcma_bus *bus)
                        bcma_err(bus, "Error registering NAND flash\n");
        }
 #endif
+       err = bcma_gpio_init(&bus->drv_cc);
+       if (err == -ENOTSUPP)
+               bcma_debug(bus, "GPIO driver not activated\n");
+       else if (err)
+               bcma_err(bus, "Error registering GPIO driver: %i\n", err);
 
        if (bus->hosttype == BCMA_HOSTTYPE_SOC) {
                err = bcma_chipco_watchdog_register(&bus->drv_cc);