Commit 822f89a4 authored by Maxime Ripard's avatar Maxime Ripard

drm/sun4i: Fix compilation error

Commit ea64761a ("drm/sun4i: hdmi: Switch to HDMI connector")
introduced a dependency that got renamed in a previous version, but
wasn't properly updated in that driver. Fix the name of the function.
Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202405282205.EU7NUoeQ-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202405282248.U2lhPvCK-lkp@intel.com/
Fixes: ea64761a ("drm/sun4i: hdmi: Switch to HDMI connector")
Reviewed-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240528151056.2104153-1-mripard@kernel.orgSigned-off-by: default avatarMaxime Ripard <mripard@kernel.org>
parent 336dca39
......@@ -209,8 +209,7 @@ static enum drm_mode_status
sun4i_hdmi_connector_mode_valid(struct drm_connector *connector,
struct drm_display_mode *mode)
{
unsigned long long rate =
drm_connector_hdmi_compute_mode_clock(mode, 8,
unsigned long long rate = drm_hdmi_compute_mode_clock(mode, 8,
HDMI_COLORSPACE_RGB);
return sun4i_hdmi_connector_clock_valid(connector, mode, rate);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment