Skip to content

Commit

Permalink
drm/imx: dw-hdmi: use connector on mode_valid
Browse files Browse the repository at this point in the history
  • Loading branch information
scpcom committed Oct 27, 2022
1 parent e96c2fa commit 6e15f97
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/gpu/drm/imx/dw_hdmi-imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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)
{
Expand Down

0 comments on commit 6e15f97

Please sign in to comment.