linux_dsm_epyc7002/drivers/gpu/drm/amd/display
Arnd Bergmann f0ee9b184c drm/amd/display: hide an unused variable
Without CONFIG_DEBUG_FS, we get a warning for an unused
variable:

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:6020:33: error: unused variable 'source' [-Werror,-Wunused-variable]

Hide the variable in an #ifdef like its only users.

Fixes: 14b2584636 ("drm/amd/display: add functionality to grab DPRX CRC entries.")
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-10-03 09:11:00 -05:00
..
amdgpu_dm drm/amd/display: hide an unused variable 2019-10-03 09:11:00 -05:00
dc drm/amd/display: Update hdcp display config 2019-10-03 09:10:58 -05:00
include drm/amd/display: Add HDCP module 2019-10-03 09:10:58 -05:00
modules drm/amd/display: add PSP block to verify hdcp steps 2019-10-03 09:10:58 -05:00
Kconfig drm/amd/display: Add hdcp to Kconfig 2019-10-03 09:10:58 -05:00
Makefile drm/amd/display: Add HDCP module 2019-10-03 09:10:58 -05:00
TODO