From: jsg Date: Thu, 17 Aug 2023 04:12:42 +0000 (+0000) Subject: drm/amd/display: fix the build when DRM_AMD_DC_DCN is not set X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=45418f4c14ecb4e8e0d620dcb3948eaa75150a9c;p=openbsd drm/amd/display: fix the build when DRM_AMD_DC_DCN is not set From Alex Deucher 07152d9e87ef7759955446989693bbf5e8e80b7c in linux-6.1.y/6.1.46 5ca9b33ece9aa048b6ec9411f054e1b781662327 in mainline linux --- diff --git a/sys/dev/pci/drm/amd/display/dc/inc/hw/timing_generator.h b/sys/dev/pci/drm/amd/display/dc/inc/hw/timing_generator.h index 37a718fc551..e67abcbd05c 100644 --- a/sys/dev/pci/drm/amd/display/dc/inc/hw/timing_generator.h +++ b/sys/dev/pci/drm/amd/display/dc/inc/hw/timing_generator.h @@ -184,8 +184,8 @@ struct timing_generator_funcs { bool (*disable_crtc)(struct timing_generator *tg); #ifdef CONFIG_DRM_AMD_DC_DCN void (*phantom_crtc_post_enable)(struct timing_generator *tg); - void (*disable_phantom_crtc)(struct timing_generator *tg); #endif + void (*disable_phantom_crtc)(struct timing_generator *tg); bool (*immediate_disable_crtc)(struct timing_generator *tg); bool (*is_counter_moving)(struct timing_generator *tg); void (*get_position)(struct timing_generator *tg,