summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dce120/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce120/Makefile')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce120/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce120/Makefile b/drivers/gpu/drm/amd/display/dc/dce120/Makefile
index 37db1f8d45ea..8f508e662748 100644
--- a/drivers/gpu/drm/amd/display/dc/dce120/Makefile
+++ b/drivers/gpu/drm/amd/display/dc/dce120/Makefile
@@ -24,8 +24,9 @@
# It provides the control and status of HW CRTC block.
-DCE120 = dce120_resource.o dce120_timing_generator.o \
-dce120_hw_sequencer.o
+CFLAGS_$(AMDDALPATH)/dc/dce120/dce120_resource.o = -Wno-override-init
+
+DCE120 = dce120_timing_generator.o
AMD_DAL_DCE120 = $(addprefix $(AMDDALPATH)/dc/dce120/,$(DCE120))