projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20f6415
)
drm/vc4: Fix build without DRM_VC4_HDMI_CEC
author
Phil Elwell
<phil@raspberrypi.com>
Tue, 14 Dec 2021 21:53:18 +0000
(21:53 +0000)
committer
Phil Elwell
<phil@raspberrypi.com>
Tue, 14 Dec 2021 21:56:08 +0000
(21:56 +0000)
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
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/vc4/vc4_hdmi.c
b/drivers/gpu/drm/vc4/vc4_hdmi.c
index 6aa074714305cd32d58c429ff1d37d198568a0c0..b621fc3b1750184d103c7320f234e015a954d217 100644
(file)
--- a/
drivers/gpu/drm/vc4/vc4_hdmi.c
+++ b/
drivers/gpu/drm/vc4/vc4_hdmi.c
@@
-2328,7
+2328,7
@@
static int vc4_hdmi_cec_init(struct vc4_hdmi *vc4_hdmi)
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;
}