From 6e15f97ca775e96258d39b25678f3484ec1311e0 Mon Sep 17 00:00:00 2001 From: scpcom Date: Thu, 27 Oct 2022 23:39:33 +0200 Subject: [PATCH] drm/imx: dw-hdmi: use connector on mode_valid --- drivers/gpu/drm/imx/dw_hdmi-imx.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/imx/dw_hdmi-imx.c b/drivers/gpu/drm/imx/dw_hdmi-imx.c index d07b39b8afd21..fe5baba23ba0c 100644 --- a/drivers/gpu/drm/imx/dw_hdmi-imx.c +++ b/drivers/gpu/drm/imx/dw_hdmi-imx.c @@ -140,7 +140,8 @@ static const struct drm_encoder_helper_funcs dw_hdmi_imx_encoder_helper_funcs = }; static enum drm_mode_status -imx6q_hdmi_mode_valid(struct dw_hdmi *hdmi, void *data, +imx6q_hdmi_mode_valid(struct drm_connector *connector, + void *data, const struct drm_display_info *info, const struct drm_display_mode *mode) { @@ -154,7 +155,8 @@ imx6q_hdmi_mode_valid(struct dw_hdmi *hdmi, void *data, } static enum drm_mode_status -imx6dl_hdmi_mode_valid(struct dw_hdmi *hdmi, void *data, +imx6dl_hdmi_mode_valid(struct drm_connector *connector, + void *data, const struct drm_display_info *info, const struct drm_display_mode *mode) {