]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix kbuild test robot build error
authorAnshuman Gupta <anshuman.gupta@intel.com>
Thu, 27 Feb 2020 17:51:47 +0000 (23:21 +0530)
committerUma Shankar <uma.shankar@intel.com>
Tue, 3 Mar 2020 13:08:55 +0000 (18:38 +0530)
commit763e3d3d5a1e7505233f688e69f475383b5a3959
tree20f57a836583945f39d5946c1b0fe0f14f4bac13
parent6817d3ae76f75c3893610fdd52c2f2ba8b882a89
drm/i915: Fix kbuild test robot build error

has_transcoder() was unused because function which was using it,
intel_display_capture_error_state() defined under
CONFIG_DRM_I915_CAPTURE_ERROR.
Moving has_transcoder() to under CONFIG_DRM_I915_CAPTURE_ERROR.
No functional change.

Fixes: d0e03b5f760e ("drm/i915: Fix broken transcoder err state")
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reported-by: kbuild test robot <lkp@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200227175147.11362-1-anshuman.gupta@intel.com
drivers/gpu/drm/i915/display/intel_display.c