static int __init ath79_setup(void) { ath79_gpio_init(); ath79_register_uart(); ath79_register_wdt(); mips_machine_setup(); return 0; }
static int __init ath79_setup(void) { if (mips_machtype == ATH79_MACH_GENERIC_OF) return 0; ath79_gpio_init(); ath79_register_uart(); ath79_register_wdt(); mips_machine_setup(); return 0; }
static int __init ath79_setup(void) { of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); if (mips_machtype == ATH79_MACH_GENERIC_OF) return 0; ath79_gpio_init(); ath79_register_uart(); ath79_register_wdt(); mips_machine_setup(); return 0; }