Przeglądaj źródła

ar71xx: Use KEY_RESTART key code for the reset button on WD My Net N600 boards

Signed-off-by: Christian Lamparter <[email protected]>
Signed-off-by: Gabor Juhos <[email protected]>

SVN-Revision: 38720
Gabor Juhos 12 lat temu
rodzic
commit
25756c61bc

+ 1 - 1
target/linux/ar71xx/files/arch/mips/ath79/mach-mynet-n600.c

@@ -100,7 +100,7 @@ static struct gpio_keys_button mynet_n600_gpio_keys[] __initdata = {
 	{
 	{
 		.desc		= "Reset button",
 		.desc		= "Reset button",
 		.type		= EV_KEY,
 		.type		= EV_KEY,
-		.code		= KEY_WPS_BUTTON,
+		.code		= KEY_RESTART,
 		.debounce_interval = MYNET_N600_KEYS_DEBOUNCE_INTERVAL,
 		.debounce_interval = MYNET_N600_KEYS_DEBOUNCE_INTERVAL,
 		.gpio		= MYNET_N600_GPIO_BTN_RESET,
 		.gpio		= MYNET_N600_GPIO_BTN_RESET,
 		.active_low	= 1,
 		.active_low	= 1,