[PATCH v2 1/2] fixup! raspi: support to read vc values via dt-2nd boot

Denis OSTERLAND-HEIM denis.osterland at diehl.com
Fri Oct 6 06:11:20 PDT 2023


---
 arch/arm/boards/raspberry-pi/rpi-common.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boards/raspberry-pi/rpi-common.c
b/arch/arm/boards/raspberry-pi/rpi-common.c
index 56887abbc0..ea3c72fb94 100644
--- a/arch/arm/boards/raspberry-pi/rpi-common.c
+++ b/arch/arm/boards/raspberry-pi/rpi-common.c
@@ -406,7 +406,7 @@ static struct device_node *rpi_vc_fdt(void)
 	}
 
 	if (magic != FDT_MAGIC)
-		return ERR_PTR(-EINVAL);;
+		return ERR_PTR(-EINVAL);
 
 	size = be32_to_cpu(oftree->totalsize);
 	if (write_file("/vc.dtb", saved_vc_fdt, size))
@@ -475,7 +475,7 @@ static int rpi_devices_probe(struct device *dev)
 	const struct rpi_machine_data *dcfg;
 	struct regulator *reg;
 	struct rpi_priv *priv;
-       struct device_node *root;
+	struct device_node *root;
 	const char *name, *ptr;
 	char *hostname;
 	int ret;
-- 
2.39.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3908 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20231006/060471ac/attachment.bin>


More information about the barebox mailing list