generic/patches-2.6.34: Make devtmpfs available on (embedded) configurations without...
[openwrt.git] / target / linux / ramips / files / arch / mips / ralink / rt305x / mach-fonera20n.c
index 6dc4b9d..9de07d3 100644 (file)
@@ -91,7 +91,7 @@ static struct gpio_button fonera20n_gpio_buttons[] __initdata = {
        {
                .desc           = "reset",
                .type           = EV_KEY,
        {
                .desc           = "reset",
                .type           = EV_KEY,
-               .code           = BTN_0,
+               .code           = KEY_RESTART,
                .threshold      = 3,
                .gpio           = FONERA20N_GPIO_BUTTON_RESET,
                .active_low     = 1,
                .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();
                                     fonera20n_gpio_buttons);
 
        rt305x_register_ethernet();
+       rt305x_register_wifi();
 }
 
 MIPS_MACHINE(RAMIPS_MACH_FONERA20N, "FONERA20N", "La Fonera 2.0N",
 }
 
 MIPS_MACHINE(RAMIPS_MACH_FONERA20N, "FONERA20N", "La Fonera 2.0N",
This page took 0.021481 seconds and 4 git commands to generate.