From: Petr Štetiar <ynezz@true.cz>
Date: Thu, 17 Mar 2022 06:53:55 +0000 (+0100)
Subject: mpc85xx: fix missing kernel config symbol and DTS whitespace issue
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=83ca16fc4350c65110caeb7143afc9e9cd300d23;p=openwrt%2Fstaging%2Fjogo.git

mpc85xx: fix missing kernel config symbol and DTS whitespace issue

Buildbot has reported following issue while crunching mpc85xx/p1010
subtarget:

 Extreme Networks WS-AP3825i (WS_AP3825I) [N/y/?] (NEW)

Fix it by disabling that config symbol in target kernel config and while
at it fix DTS whitespace issue.

Fixes: 7e614820a892 ("mpc85xx: add support for Extreme Networks WS-AP3825i")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
---

diff --git a/target/linux/mpc85xx/config-5.10 b/target/linux/mpc85xx/config-5.10
index e140239fc0..022fc75dac 100644
--- a/target/linux/mpc85xx/config-5.10
+++ b/target/linux/mpc85xx/config-5.10
@@ -265,6 +265,7 @@ CONFIG_VDSO32=y
 CONFIG_VM_EVENT_COUNTERS=y
 CONFIG_WATCHDOG_CORE=y
 # CONFIG_WS_AP3710I is not set
+# CONFIG_WS_AP3825I is not set
 # CONFIG_XES_MPC85xx is not set
 CONFIG_XZ_DEC_BCJ=y
 CONFIG_XZ_DEC_POWERPC=y
diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts
index 3dcbac21a4..b4a90b31c7 100644
--- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts
+++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts
@@ -27,7 +27,7 @@
 	};
 
 	led_spi {
-		/* 
+		/*
 		 * This is currently non-functioning because the spi-gpio
 		 * driver refuses to register when presented with this node.
 		 */