2023-01-28 01:39:22

by ye.xingchen

[permalink] [raw]
Subject: [PATCH] drm/amdgpu/display: remove duplicate include header in files

From: ye xingchen <[email protected]>

opp.h is included more than once.

Signed-off-by: ye xingchen <[email protected]>
---
drivers/gpu/drm/amd/display/dc/core/dc_link.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
index 6475664baa8a..1a2ab934b4bd 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
@@ -46,7 +46,6 @@
#include "dpcd_defs.h"
#include "dmcu.h"
#include "dsc.h"
-#include "opp.h"
#include "hw/clk_mgr.h"
#include "dce/dmub_psr.h"
#include "dmub/dmub_srv.h"
--
2.25.1


2023-01-31 17:19:34

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] drm/amdgpu/display: remove duplicate include header in files

Applied. Thanks!

Alex

On Fri, Jan 27, 2023 at 8:39 PM <[email protected]> wrote:
>
> From: ye xingchen <[email protected]>
>
> opp.h is included more than once.
>
> Signed-off-by: ye xingchen <[email protected]>
> ---
> drivers/gpu/drm/amd/display/dc/core/dc_link.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
> index 6475664baa8a..1a2ab934b4bd 100644
> --- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c
> +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
> @@ -46,7 +46,6 @@
> #include "dpcd_defs.h"
> #include "dmcu.h"
> #include "dsc.h"
> -#include "opp.h"
> #include "hw/clk_mgr.h"
> #include "dce/dmub_psr.h"
> #include "dmub/dmub_srv.h"
> --
> 2.25.1