2021-06-03 02:43:23

by Jiabing Wan

[permalink] [raw]
Subject: [PATCH] drm: amdgpu: Remove duplicate include of drm_drv.h

drm_drv.h is included at line 28, remove the duplicate here.

Signed-off-by: Wan Jiabing <[email protected]>
---
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 3ff76cb..131cff0 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