mirror of https://github.com/hak5/openwrt-owl.git
parent
90fe458aca
commit
904effc167
|
@ -40,7 +40,7 @@ static struct gpio_button wp54_gpio_buttons[] __initdata = {
|
|||
.type = EV_KEY,
|
||||
.code = BTN_0,
|
||||
.threshold = 5,
|
||||
.gpio = ADM5120_GPIO_PIN2,
|
||||
.gpio = ADM5120_GPIO_PIN4,
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -145,7 +145,7 @@ static void __init wp54_setup(void)
|
|||
|
||||
adm5120_buttons_data.nbuttons = 1;
|
||||
adm5120_buttons[0].desc = "reset button";
|
||||
adm5120_buttons[0].gpio = ADM5120_GPIO_PIN2;
|
||||
adm5120_buttons[0].gpio = ADM5120_GPIO_PIN4;
|
||||
|
||||
adm5120_gpiodev_resource.start &= ~WP54_GPIO_DEV_MASK;
|
||||
|
||||
|
|
Loading…
Reference in New Issue