diff options
Diffstat (limited to 'drivers/bcma/main.c')
-rw-r--r-- | drivers/bcma/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/bcma/main.c b/drivers/bcma/main.c index d865470bc951..478ba01ca0c2 100644 --- a/drivers/bcma/main.c +++ b/drivers/bcma/main.c | |||
@@ -152,6 +152,11 @@ static int bcma_register_cores(struct bcma_bus *bus) | |||
152 | bcma_err(bus, "Error registering NAND flash\n"); | 152 | bcma_err(bus, "Error registering NAND flash\n"); |
153 | } | 153 | } |
154 | #endif | 154 | #endif |
155 | err = bcma_gpio_init(&bus->drv_cc); | ||
156 | if (err == -ENOTSUPP) | ||
157 | bcma_debug(bus, "GPIO driver not activated\n"); | ||
158 | else if (err) | ||
159 | bcma_err(bus, "Error registering GPIO driver: %i\n", err); | ||
155 | 160 | ||
156 | return 0; | 161 | return 0; |
157 | } | 162 | } |