aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2022-06-01 22:22:07 -0400
committerAlex Deucher <[email protected]>2022-06-03 16:45:01 -0400
commitd8e4fb9112e88d8d87ffbc38fa511e7118042d4f (patch)
tree94a92c01637952b55c7201c94b8db7a13e42b6dd /scripts/patch-kernel
parent3e80a5b068a5fedc69ada30ba1a2d1e0b76dfc25 (diff)
drm/amdgpu/display: Protect some functions with CONFIG_DRM_AMD_DC_DCN
Protect remove_hpo_dp_link_enc_from_ctx() and release_hpo_dp_link_enc() with CONFIG_DRM_AMD_DC_DCN as the functions are only called from code that is protected by CONFIG_DRM_AMD_DC_DCN. Fixes build fail with -Werror=unused-function. Fixes: 9b0e0d433f74 ("drm/amd/display: Add dependant changes for DCN32/321") Reported-by: Stephen Rothwell <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: Aurabindo Pillai <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions