diff options
author | Lyude Paul <lyude@redhat.com> | 2021-04-23 20:43:02 +0200 |
---|---|---|
committer | Lyude Paul <lyude@redhat.com> | 2021-04-28 00:43:43 +0200 |
commit | a117f3de3b3aa4eae272067e0597f9d6c3b85f43 (patch) | |
tree | cde05fabca5621618176f9032efdc17b13d58f7d /include/drm | |
parent | drm/dp_dual_mode: Pass drm_device to drm_dp_dual_mode_set_tmds_output() (diff) | |
download | linux-a117f3de3b3aa4eae272067e0597f9d6c3b85f43.tar.xz linux-a117f3de3b3aa4eae272067e0597f9d6c3b85f43.zip |
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')
-rw-r--r-- | include/drm/drm_dp_dual_mode_helper.h | 2 |
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); |