Skip to contentSkip to conversation

gpu: drm: amd: Remove duplicate includes

PATCH In review Wan Jiabing 2 participants 2 messages Mar 23, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpu: drm: amd: Remove duplicate includes

../hw_ddc.h, ../hw_gpio.h and ../hw_hpd.h have been included at line 32, so remove them.

---
 .../gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c    | 4 ----
 1 file changed, 4 deletions(-)
drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c +0 -4
index 66e4841f41e4..ca335ea60412 100644
@@ -48,10 +48,6 @@
 #define REGI(reg_name, block, id)\
 	mm ## block ## id ## _ ## reg_name
 
-#include "../hw_gpio.h"
-#include "../hw_ddc.h"
-#include "../hw_hpd.h"
-
 #include "reg_helper.h"
 #include "../hpd_regs.h"
 
Signature · 6 lines
2.25.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

Same patch was already applied recently.

Thanks,

Alex

Quoted 27 lines · Wan Jiabing

../hw_ddc.h, ../hw_gpio.h and ../hw_hpd.h have been included at line 32, so remove them.

---
 .../gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c    | 4 ----
 1 file changed, 4 deletions(-)
drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c +0 -5
index 66e4841f41e4..ca335ea60412 100644
@@ -48,10 +48,6 @@
 #define REGI(reg_name, block, id)\
        mm ## block ## id ## _ ## reg_name
 
-#include "../hw_gpio.h"
-#include "../hw_ddc.h"
-#include "../hw_hpd.h"
-
 #include "reg_helper.h"
 #include "../hpd_regs.h"
 
--

2.25.1

Quoted 4 lines

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx