[PATCH] drm/crtc-helper: drm_connector_get_single_encoder prototype is missing

From: Benjamin Gaignard
Date: Tue Nov 19 2019 - 07:59:33 EST


Include drm_crtc_helper_internal.h to provide drm_connector_get_single_encoder
prototype.

Fixes: a92462d6bf493 ("drm/connector: Share with non-atomic drivers the function to get the single encoder")

Cc: Josà Roberto de Souza <jose.souza@xxxxxxxxx>

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@xxxxxx>
---
drivers/gpu/drm/drm_crtc_helper.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c
index 499b05aaccfc..93a4eec429e8 100644
--- a/drivers/gpu/drm/drm_crtc_helper.c
+++ b/drivers/gpu/drm/drm_crtc_helper.c
@@ -48,6 +48,8 @@
#include <drm/drm_print.h>
#include <drm/drm_vblank.h>

+#include "drm_crtc_helper_internal.h"
+
/**
* DOC: overview
*
--
2.15.0