]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: constify find_section in VBT parsing
authorJani Nikula <jani.nikula@intel.com>
Wed, 15 Apr 2015 12:18:28 +0000 (15:18 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 20 May 2015 09:25:49 +0000 (11:25 +0200)
commitfa56d84f37f7557c187919530d3f3228911d1a71
treef31c6677fd01c6ccd580d5a31cb4a6f4a674d4f4
parent4a2d6321f56d7075ef496299272f0da12bc6f8cf
drm/i915: constify find_section in VBT parsing

Make input and output of find_section const, and fix the fallout. We
shouldn't modify the VBT, so make the compiler help us here.

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>
drivers/gpu/drm/i915/intel_bios.c