From d53e26567315cab039c8ae67c4f5b807c9a498b1 Mon Sep 17 00:00:00 2001
From: Dom Cobley <popcornmix@gmail.com>
Date: Thu, 15 Jul 2021 20:08:13 +0100
Subject: [PATCH] drm/vc4: Fix typo when getting firmware node

Signed-off-by: Dom Cobley <popcornmix@gmail.com>
---
 drivers/gpu/drm/vc4/vc4_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/gpu/drm/vc4/vc4_drv.c
+++ b/drivers/gpu/drm/vc4/vc4_drv.c
@@ -321,7 +321,7 @@ static int vc4_drm_bind(struct device *d
 
 	node = of_parse_phandle(dev->of_node, "raspberrypi,firmware", 0);
 	if (node) {
-		vc4->firmware = rpi_firmware_get(dev->of_node);
+		vc4->firmware = rpi_firmware_get(node);
 		of_node_put(node);
 
 		if (!vc4->firmware)
