drm/amdgpu/display: fix warning when CONFIG_DRM_AMD_DC_DCN is not defined
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 7 May 2021 20:29:33 +0000 (16:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 May 2021 02:06:37 +0000 (22:06 -0400)
commit610e6f7ea5bf50d33f764e330ea517b9cc95d320
tree76c85c22e1a27d91968648f906287789b743f83a
parenteffbf6ca7eafdadbb8a423ce40886d364632bbca
drm/amdgpu/display: fix warning when CONFIG_DRM_AMD_DC_DCN is not defined

Fixes:
At top level:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:633:13: warning: ‘dm_dmub_outbox1_low_irq’ defined but not used [-Wunused-function]
  633 | static void dm_dmub_outbox1_low_irq(void *interrupt_params)
      |             ^~~~~~~~~~~~~~~~~~~~~~~

Fixes: 81927e2808be ("drm/amd/display: Support for DMUB AUX")
Reviewed-by: Jude Shih <shenshih@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Jude Shih <Jude.Shih@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c