Skip to contentSkip to conversation

fixup! raspi: support to read vc values via dt-2nd boot

PATCH New Denis OSTERLAND-HEIM 1 participant 1 message Oct 6, 2023 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

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

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

b/arch/arm/boards/raspberry-pi/rpi-common.c
index 56887abbc0..ea3c72fb94 100644

arch/arm/boards/raspberry-pi/rpi-common.c +2 -2
@@ -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;
Signature · 1 line
2.39.2