mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
20ea6adbf1
Build system: x86_64 Build-tested: bcm2708, bcm2709, bcm2710, bcm2711 Run-tested: bcm2708/RPiB+, bcm2709/RPi3B, bcm2710/RPi3B, bcm2711/RPi4B Signed-off-by: Marty Jones <mj8263788@gmail.com> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
26 lines
775 B
Diff
26 lines
775 B
Diff
From 977d51f1d3f7058a4bcde2b3f6497880ccd5db6c Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Tue, 14 Dec 2021 21:53:18 +0000
|
|
Subject: [PATCH] drm/vc4: Fix build without DRM_VC4_HDMI_CEC
|
|
|
|
As reported by @asavah.
|
|
|
|
Fixes: https://github.com/raspberrypi/linux/issues/4771
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
---
|
|
drivers/gpu/drm/vc4/vc4_hdmi.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/gpu/drm/vc4/vc4_hdmi.c
|
|
+++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
|
|
@@ -2280,7 +2280,7 @@ static int vc4_hdmi_cec_init(struct vc4_
|
|
|
|
static void vc4_hdmi_cec_exit(struct vc4_hdmi *vc4_hdmi) {};
|
|
|
|
-static void vc4_hdmi_cec_resume(struct vc4_hdmi *vc4_hdmi)
|
|
+static int vc4_hdmi_cec_resume(struct vc4_hdmi *vc4_hdmi)
|
|
{
|
|
return 0;
|
|
}
|