diff options
author | Jani Nikula <jani.nikula@intel.com> | 2013-10-15 02:36:08 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-10-15 03:36:09 -0400 |
commit | 0301b3ac38708003a46f5b8ece1103ba6dc23f7c (patch) | |
tree | 418d75d75e1ce60b44392288b1f8559106ad7ac4 /drivers/gpu/drm/i915/intel_dp.c | |
parent | 4cdb83ec9a72f741c75e20c8e412c505fc037f5f (diff) |
drm/i915/dp: constify link_status
Follow-up to
commit 0aec288130713cf7bcf97c929ac5fab6a8e00e44
Author: Jani Nikula <jani.nikula@intel.com>
Date: Fri Sep 27 19:01:01 2013 +0300
drm/dp: constify DP DPCD helpers
Requested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index bee09e16725c..7ee9210e6133 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c | |||
@@ -2095,7 +2095,8 @@ static uint32_t intel_vlv_signal_levels(struct intel_dp *intel_dp) | |||
2095 | } | 2095 | } |
2096 | 2096 | ||
2097 | static void | 2097 | static void |
2098 | intel_get_adjust_train(struct intel_dp *intel_dp, uint8_t link_status[DP_LINK_STATUS_SIZE]) | 2098 | intel_get_adjust_train(struct intel_dp *intel_dp, |
2099 | const uint8_t link_status[DP_LINK_STATUS_SIZE]) | ||
2099 | { | 2100 | { |
2100 | uint8_t v = 0; | 2101 | uint8_t v = 0; |
2101 | uint8_t p = 0; | 2102 | uint8_t p = 0; |
@@ -2396,7 +2397,7 @@ intel_dp_reset_link_train(struct intel_dp *intel_dp, uint32_t *DP, | |||
2396 | 2397 | ||
2397 | static bool | 2398 | static bool |
2398 | intel_dp_update_link_train(struct intel_dp *intel_dp, uint32_t *DP, | 2399 | intel_dp_update_link_train(struct intel_dp *intel_dp, uint32_t *DP, |
2399 | uint8_t link_status[DP_LINK_STATUS_SIZE]) | 2400 | const uint8_t link_status[DP_LINK_STATUS_SIZE]) |
2400 | { | 2401 | { |
2401 | struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); | 2402 | struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); |
2402 | struct drm_device *dev = intel_dig_port->base.base.dev; | 2403 | struct drm_device *dev = intel_dig_port->base.base.dev; |