diff mbox series

[OpenWrt-Devel] ath79: etactica-eg200: fix restore button

Message ID 20190812163701.30403-1-karlp@etactica.com
State Accepted, archived
Delegated to: Christian Lamparter
Headers show
Series [OpenWrt-Devel] ath79: etactica-eg200: fix restore button | expand

Commit Message

Karl Palsson Aug. 12, 2019, 4:37 p.m. UTC
The button is labelled reboot/restore in documentation, and has always
been used for that.  Naming it WPS has always been wrong.

Signed-off-by: Karl Palsson <karlp@etactica.com>
---
 target/linux/ath79/dts/ar9331_etactica_eg200.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/target/linux/ath79/dts/ar9331_etactica_eg200.dts b/target/linux/ath79/dts/ar9331_etactica_eg200.dts
index d18a239d32..708e9defa4 100644
--- a/target/linux/ath79/dts/ar9331_etactica_eg200.dts
+++ b/target/linux/ath79/dts/ar9331_etactica_eg200.dts
@@ -19,7 +19,7 @@ 
 		poll-interval = <50>;
 
 		restore {
-			linux,code = <KEY_WPS_BUTTON>;
+			linux,code = <KEY_RESTART>;
 			gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
 		};
 	};