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)
commite8ef3b4c9dadd4ca4a58282927cd2a9b34804089
treef31c6677fd01c6ccd580d5a31cb4a6f4a674d4f4
parent4bca26d0a6518d51a9abe64fbde4b12f04c74053
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