summaryrefslogtreecommitdiff
path: root/include/drm/drm_dp_dual_mode_helper.h
diff options
context:
space:
mode:
authorLyude Paul <lyude@redhat.com>2021-04-23 14:43:02 -0400
committerLyude Paul <lyude@redhat.com>2021-04-27 18:43:43 -0400
commita117f3de3b3aa4eae272067e0597f9d6c3b85f43 (patch)
treecde05fabca5621618176f9032efdc17b13d58f7d /include/drm/drm_dp_dual_mode_helper.h
parentc235509ad740e215319c0dc34e8020dd730c046c (diff)
drm/dp_dual_mode: Pass drm_device to drm_dp_dual_mode_max_tmds_clock()
Another function we need to pass drm_device down to in order to start using drm_dbg_*(). Signed-off-by: Lyude Paul <lyude@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210423184309.207645-11-lyude@redhat.com Reviewed-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm_dp_dual_mode_helper.h')
-rw-r--r--include/drm/drm_dp_dual_mode_helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_dp_dual_mode_helper.h b/include/drm/drm_dp_dual_mode_helper.h
index 8cb0dcd98a99..aabf9c951380 100644
--- a/include/drm/drm_dp_dual_mode_helper.h
+++ b/include/drm/drm_dp_dual_mode_helper.h
@@ -106,7 +106,7 @@ enum drm_dp_dual_mode_type {
enum drm_dp_dual_mode_type
drm_dp_dual_mode_detect(const struct drm_device *dev, struct i2c_adapter *adapter);
-int drm_dp_dual_mode_max_tmds_clock(enum drm_dp_dual_mode_type type,
+int drm_dp_dual_mode_max_tmds_clock(const struct drm_device *dev, enum drm_dp_dual_mode_type type,
struct i2c_adapter *adapter);
int drm_dp_dual_mode_get_tmds_output(enum drm_dp_dual_mode_type type,
struct i2c_adapter *adapter, bool *enabled);