drm/amd/display: fix the build when DRM_AMD_DC_DCN is not set
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Aug 2023 21:07:07 +0000 (16:07 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Aug 2023 16:27:23 +0000 (18:27 +0200)
commit07152d9e87ef7759955446989693bbf5e8e80b7c
treeef4db77c40392af17b85d8c2ad6cab2d1ae4da0d
parent647e12741e6d16eccb679d2fefa7ec71496b6337
drm/amd/display: fix the build when DRM_AMD_DC_DCN is not set

commit 5ca9b33ece9aa048b6ec9411f054e1b781662327 upstream

Move the new callback outside of the guard.

Fixes: dc55b106ad47 ("drm/amd/display: Disable phantom OTG after enable for plane disable")
CC: Alvin Lee <Alvin.Lee2@amd.com>
CC: Alan Liu <HaoPing.Liu@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h