From: Daniel Vetter Date: Thu, 2 Oct 2014 07:45:35 +0000 (+0200) Subject: drm/i915: Constify send buffer for intel_dp_aux_ch X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bd9f74a5e7365546c9c858ca8fa585906cba3979;p=linux-beck.git drm/i915: Constify send buffer for intel_dp_aux_ch Inspired by Ville constifying the send buffer for pach_aux. Cc: Ville Syrjälä Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 7ba3e1bb711a..b2aedcf8c8ec 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -718,7 +718,7 @@ static uint32_t skl_get_aux_send_ctl(struct intel_dp *intel_dp, static int intel_dp_aux_ch(struct intel_dp *intel_dp, - uint8_t *send, int send_bytes, + const uint8_t *send, int send_bytes, uint8_t *recv, int recv_size) { struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp);