From: Ville Syrjälä Date: Tue, 10 Dec 2013 13:19:08 +0000 (+0200) Subject: drm/i915: Don't cast away const from infoframe buffer X-Git-Tag: v3.14-rc1~47^2~44^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fff6386766fc846f19d5628878a4638fa7ece0a4;p=pandora-kernel.git drm/i915: Don't cast away const from infoframe buffer We don't modify the packed infoframe data, so we should keep the const qualifier in place. Just pass the buffer as 'const void *' instead of 'const uint8_t *' and we can drop the cast entirely. v2: Do intel_sdvo_write_infoframe() as well Reviewed-by: Damien Lespiau Signed-off-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed