X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ad3d89cc5aebb495e88f88b09785eb919aa3f768..2122c93af5a8b5b8d2c4c2bdb6274fc1eaf42a62:/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c index 6dc4b9d3f..9de07d36b 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c @@ -91,7 +91,7 @@ static struct gpio_button fonera20n_gpio_buttons[] __initdata = { { .desc = "reset", .type = EV_KEY, - .code = BTN_0, + .code = KEY_RESTART, .threshold = 3, .gpio = FONERA20N_GPIO_BUTTON_RESET, .active_low = 1, @@ -119,6 +119,7 @@ static void __init fonera20n_init(void) fonera20n_gpio_buttons); rt305x_register_ethernet(); + rt305x_register_wifi(); } MIPS_MACHINE(RAMIPS_MACH_FONERA20N, "FONERA20N", "La Fonera 2.0N",