summaryrefslogtreecommitdiffstats
path: root/include/drm/bridge
diff options
context:
space:
mode:
authorYakir Yang <ykk@rock-chips.com>2016-06-29 17:15:35 +0800
committerYakir Yang <ykk@rock-chips.com>2016-07-05 21:53:38 +0800
commitfcc150c5152d0c7aa3d37b77226e79ce5fc34cf8 (patch)
treed3cfd3d85c07c7318de52d88efaea1d063bb946a /include/drm/bridge
parenteb87c91c73f825ea377bdd229cf1cf6ef54e1372 (diff)
downloadlinux-fcc150c5152d0c7aa3d37b77226e79ce5fc34cf8.tar.gz
linux-fcc150c5152d0c7aa3d37b77226e79ce5fc34cf8.tar.bz2
linux-fcc150c5152d0c7aa3d37b77226e79ce5fc34cf8.zip
drm/bridge: analogix_dp: passing the connector as an argument in .get_modes()
It's better to pass the connector to platform driver in .get_modes() callback, just like what the .get_modes() helper function designed. Signed-off-by: Yakir Yang <ykk@rock-chips.com> Reviewed-by: Sean Paul <seanpaul@chromium.org> Reviewed-by: Tomasz Figa <tomasz.figa@chromium.com>
Diffstat (limited to 'include/drm/bridge')
-rw-r--r--include/drm/bridge/analogix_dp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drm/bridge/analogix_dp.h b/include/drm/bridge/analogix_dp.h
index fc4aea39822d..261b86d20e77 100644
--- a/include/drm/bridge/analogix_dp.h
+++ b/include/drm/bridge/analogix_dp.h
@@ -34,7 +34,8 @@ struct analogix_dp_plat_data {
int (*power_off)(struct analogix_dp_plat_data *);
int (*attach)(struct analogix_dp_plat_data *, struct drm_bridge *,
struct drm_connector *);
- int (*get_modes)(struct analogix_dp_plat_data *);
+ int (*get_modes)(struct analogix_dp_plat_data *,
+ struct drm_connector *);
};
int analogix_dp_resume(struct device *dev);