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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux