Skip to content

Commit 6e15f97

Browse files
committed
drm/imx: dw-hdmi: use connector on mode_valid
1 parent e96c2fa commit 6e15f97

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

drivers/gpu/drm/imx/dw_hdmi-imx.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ static const struct drm_encoder_helper_funcs dw_hdmi_imx_encoder_helper_funcs =
140140
};
141141

142142
static enum drm_mode_status
143-
imx6q_hdmi_mode_valid(struct dw_hdmi *hdmi, void *data,
143+
imx6q_hdmi_mode_valid(struct drm_connector *connector,
144+
void *data,
144145
const struct drm_display_info *info,
145146
const struct drm_display_mode *mode)
146147
{
@@ -154,7 +155,8 @@ imx6q_hdmi_mode_valid(struct dw_hdmi *hdmi, void *data,
154155
}
155156

156157
static enum drm_mode_status
157-
imx6dl_hdmi_mode_valid(struct dw_hdmi *hdmi, void *data,
158+
imx6dl_hdmi_mode_valid(struct drm_connector *connector,
159+
void *data,
158160
const struct drm_display_info *info,
159161
const struct drm_display_mode *mode)
160162
{

0 commit comments

Comments
 (0)