We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea4b3af commit e6b03abCopy full SHA for e6b03ab
arch/mips/ar7/platform.c
@@ -653,6 +653,10 @@ static int __init ar7_register_devices(void)
653
u32 val;
654
int res;
655
656
+ res = ar7_gpio_init();
657
+ if (res)
658
+ pr_warn("unable to register gpios: %d\n", res);
659
+
660
res = ar7_register_uarts();
661
if (res)
662
pr_err("unable to setup uart(s): %d\n", res);
arch/mips/ar7/prom.c
@@ -246,8 +246,6 @@ void __init prom_init(void)
246
ar7_init_cmdline(fw_arg0, (char **)fw_arg1);
247
ar7_init_env((struct env_var *)fw_arg2);
248
console_config();
249
-
250
- ar7_gpio_init();
251
}
252
253
#define PORT(offset) (KSEG1ADDR(AR7_REGS_UART0 + (offset * 4)))
0 commit comments