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

Denis Osterland-Heim denis.osterland at gmail.com
Wed Oct 4 08:22:24 PDT 2023


From: Denis OSTERLAND-HEIM <denis.osterland at diehl.com>

---
 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





More information about the barebox mailing list