From: Phil Elwell Date: Tue, 14 Dec 2021 21:53:18 +0000 (+0000) Subject: drm/vc4: Fix build without DRM_VC4_HDMI_CEC X-Git-Tag: accepted/tizen/unified/20230118.172025~935 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f6cafba11b177781e71239d5de4435ae09d5f84e;p=platform%2Fkernel%2Flinux-rpi.git 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 --- diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c index 881c48e..ed6a9d4 100644 --- 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_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; }