drm/amd/display: fix the build when DRM_AMD_DC_DCN is not set
authorjsg <jsg@openbsd.org>
Thu, 17 Aug 2023 04:12:42 +0000 (04:12 +0000)
committerjsg <jsg@openbsd.org>
Thu, 17 Aug 2023 04:12:42 +0000 (04:12 +0000)
From Alex Deucher
07152d9e87ef7759955446989693bbf5e8e80b7c in linux-6.1.y/6.1.46
5ca9b33ece9aa048b6ec9411f054e1b781662327 in mainline linux

sys/dev/pci/drm/amd/display/dc/inc/hw/timing_generator.h

index 37a718f..e67abcb 100644 (file)
@@ -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,