drm/i915: Constify send buffer for intel_dp_aux_ch
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 2 Oct 2014 07:45:35 +0000 (09:45 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 2 Oct 2014 07:45:35 +0000 (09:45 +0200)
Inspired by Ville constifying the send buffer for pach_aux.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/i915/intel_dp.c

index 7ba3e1bb711aa0365ebbcfbe5336df515f39cba2..b2aedcf8c8ecdd08b0dca4f50b32a94b8331a12c 100644 (file)
@@ -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);