]> 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)
commit495e7595ff4f3905c4aadb2ee3230420ad840e22
treef31c6677fd01c6ccd580d5a31cb4a6f4a674d4f4
parent61d3c50af6efc508a1c6177bac4f3540108d3085
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