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)
commit3a4a32d6d2c6e3bc28eab144dfb13438fac4f29a
tree20f57a836583945f39d5946c1b0fe0f14f4bac13
parent51279100de83ebc9c9b0aeea3be3a2223395cb3b
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: d54c1a513c48 ("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