Skip to contentSkip to conversation

drm/amd/display: remove duplicate dcn314 includes

PATCH In review Alex Deucher 3 participants 3 messages Jul 12, 2022

Subsystems (3)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/1 drm/amd/display: remove duplicate dcn314 includes

Several headers were included twice. Fix that.

---
 drivers/gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.c    | 1 -
 drivers/gpu/drm/amd/display/dc/dcn314/dcn314_optc.c     | 1 -
 drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c | 1 -
 3 files changed, 3 deletions(-)
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.c +0 -1
index a0c132666b5f..90ec76487264 100644
@@ -34,7 +34,6 @@
 #include "clk_mgr.h"
 #include "reg_helper.h"
 #include "abm.h"
-#include "clk_mgr.h"
 #include "hubp.h"
 #include "dchubbub.h"
 #include "timing_generator.h"
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_optc.c +0 -1
index 4ed6e24b8231..c4a5f8198209 100644
@@ -25,7 +25,6 @@
  */
 
 #include "dcn314_optc.h"
-#include "dcn314_optc.h"
 
 #include "dcn30/dcn30_optc.h"
 #include "dcn31/dcn31_optc.h"
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c +0 -1
index 053a06b2fff9..ba371769dc3e 100644
@@ -60,7 +60,6 @@
 #include "dcn31/dcn31_hpo_dp_stream_encoder.h"
 #include "dcn31/dcn31_hpo_dp_link_encoder.h"
 #include "dcn31/dcn31_apg.h"
-#include "dcn31/dcn31_dio_link_encoder.h"
 #include "dcn31/dcn31_vpg.h"
 #include "dcn31/dcn31_afmt.h"
 #include "dce/dce_clock_source.h"
Signature · 1 line
2.35.3
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Alex Deucher

Several headers were included twice. Fix that.

Harry

Quoted 42 lines
---
 drivers/gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.c    | 1 -
 drivers/gpu/drm/amd/display/dc/dcn314/dcn314_optc.c     | 1 -
 drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c | 1 -
 3 files changed, 3 deletions(-)
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.c +0 -1
index a0c132666b5f..90ec76487264 100644
@@ -34,7 +34,6 @@
 #include "clk_mgr.h"
 #include "reg_helper.h"
 #include "abm.h"
-#include "clk_mgr.h"
 #include "hubp.h"
 #include "dchubbub.h"
 #include "timing_generator.h"
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_optc.c +0 -1
index 4ed6e24b8231..c4a5f8198209 100644
@@ -25,7 +25,6 @@
  */
 
 #include "dcn314_optc.h"
-#include "dcn314_optc.h"
 
 #include "dcn30/dcn30_optc.h"
 #include "dcn31/dcn31_optc.h"
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c +0 -1
index 053a06b2fff9..ba371769dc3e 100644
@@ -60,7 +60,6 @@
 #include "dcn31/dcn31_hpo_dp_stream_encoder.h"
 #include "dcn31/dcn31_hpo_dp_link_encoder.h"
 #include "dcn31/dcn31_apg.h"
-#include "dcn31/dcn31_dio_link_encoder.h"
 #include "dcn31/dcn31_vpg.h"
 #include "dcn31/dcn31_afmt.h"
 #include "dce/dce_clock_source.h"