LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] gpu/drm/amd: Remove duplicated include of drm_drv.h
@ 2021-08-02  7:32 zhouchuangao
  2021-08-02 19:00 ` Alex Deucher
  0 siblings, 1 reply; 2+ messages in thread
From: zhouchuangao @ 2021-08-02  7:32 UTC (permalink / raw)
  To: Alex Deucher, Christian König, Pan, Xinhui, David Airlie,
	Daniel Vetter, Hawking Zhang, John Clements, Lijo Lazar,
	Andrey Grodzovsky, Jinzhou Su, Wenhui Sheng, Victor Zhao,
	Kevin Wang, amd-gfx, dri-devel, linux-kernel
  Cc: zhouchuangao

Duplicate include header file <drm/drm_drv.h>
line 28: #include <drm/drm_drv.h>
line 44: #include <drm/drm_drv.h>

Signed-off-by: zhouchuangao <zhouchuangao@vivo.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
index 3ec5099..05f864f 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
@@ -41,8 +41,6 @@
 #include "amdgpu_securedisplay.h"
 #include "amdgpu_atomfirmware.h"
 
-#include <drm/drm_drv.h>
-
 static int psp_sysfs_init(struct amdgpu_device *adev);
 static void psp_sysfs_fini(struct amdgpu_device *adev);
 
-- 
2.7.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] gpu/drm/amd: Remove duplicated include of drm_drv.h
  2021-08-02  7:32 [PATCH] gpu/drm/amd: Remove duplicated include of drm_drv.h zhouchuangao
@ 2021-08-02 19:00 ` Alex Deucher
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Deucher @ 2021-08-02 19:00 UTC (permalink / raw)
  To: zhouchuangao
  Cc: Alex Deucher, Christian König, Pan, Xinhui, David Airlie,
	Daniel Vetter, Hawking Zhang, John Clements, Lijo Lazar,
	Andrey Grodzovsky, Jinzhou Su, Wenhui Sheng, Victor Zhao,
	Kevin Wang, amd-gfx list, Maling list - DRI developers, LKML

On Mon, Aug 2, 2021 at 3:32 AM zhouchuangao <zhouchuangao@vivo.com> wrote:
>
> Duplicate include header file <drm/drm_drv.h>
> line 28: #include <drm/drm_drv.h>
> line 44: #include <drm/drm_drv.h>
>
> Signed-off-by: zhouchuangao <zhouchuangao@vivo.com>

Applied.  Thanks!

Alex


> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> index 3ec5099..05f864f 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> @@ -41,8 +41,6 @@
>  #include "amdgpu_securedisplay.h"
>  #include "amdgpu_atomfirmware.h"
>
> -#include <drm/drm_drv.h>
> -
>  static int psp_sysfs_init(struct amdgpu_device *adev);
>  static void psp_sysfs_fini(struct amdgpu_device *adev);
>
> --
> 2.7.4
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-02 19:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-02  7:32 [PATCH] gpu/drm/amd: Remove duplicated include of drm_drv.h zhouchuangao
2021-08-02 19:00 ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).