[openwrt/openwrt] mpc85xx: fix KEY_RFKILL vs KEY_RFKill

LEDE Commits lede-commits at lists.infradead.org
Sun Feb 20 05:26:52 PST 2022


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/c062087a6ce092f785e7e4e31714fb14c94f1ce8

commit c062087a6ce092f785e7e4e31714fb14c94f1ce8
Author: Christian Lamparter <chunkeey at gmail.com>
AuthorDate: Sat Feb 19 23:09:34 2022 +0100

    mpc85xx: fix KEY_RFKILL vs KEY_RFKill
    
    This fixes a buildbot builder error:
    Error: arch/powerpc/boot/dts/tl-wdr4900-v1.dts:245.18-19 syntax error
    
    Fixes: 256e1dbc7d09 ("mpc85xx: utilize dt-binding definitions for keys + gpios")
    Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
---
 target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
index e165e0b81f..fbe1c0ee70 100644
--- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
+++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
@@ -242,7 +242,7 @@
 		rfkill {
 			label = "RFKILL switch";
 			gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
-			linux,code = <KEY_RFKill>;
+			linux,code = <KEY_RFKILL>;
 		};
 	};
 };



More information about the lede-commits mailing list