openwrt/target/linux/bcm27xx/patches-5.10/950-0603-vc4-drm-hdmi-Fix-missing-declaration.patch

22 lines
723 B
Diff
Raw Normal View History

From 68b5e1eb66bf0bdbc4ecb1987f5b0e42b017a844 Mon Sep 17 00:00:00 2001
From: Dom Cobley <popcornmix@gmail.com>
Date: Fri, 7 May 2021 17:22:53 +0100
Subject: [PATCH] vc4/drm: hdmi: Fix missing declaration
Fixes: 671a8068ee5feae1d92e6d48027fa8de062e2af2
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
---
drivers/gpu/drm/vc4/vc4_hdmi.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/gpu/drm/vc4/vc4_hdmi.c
+++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
@@ -1728,6 +1728,7 @@ static int vc4_hdmi_hotplug_init(struct
{
struct platform_device *pdev = vc4_hdmi->pdev;
struct device *dev = &pdev->dev;
+ struct drm_connector *connector = &vc4_hdmi->connector;
int ret;
if (vc4_hdmi->variant->external_irq_controller) {