Skip to contentSkip to conversation

drm/hisilicon: Deleted the drm_device declaration

PATCH Superseded Tian Tao 1 participant 1 message Sep 25, 2020

Subsystems (3)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Tian Tao

author maintainer
#0 lore raw

PATCH v2 1/1 drm/hisilicon: Deleted the drm_device declaration

drm_framebuffer.h includes drm/drm_device.h and struct drm_device is already defined in this file, so there is no need to define struct drm_device in hibmc_drm_drv.h.

v2:
fixed spelling errors in commit message.

---
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h +0 -2
index 87d2aad..6a63502 100644
@@ -22,8 +22,6 @@
 #include <drm/drm_fb_helper.h>
 #include <drm/drm_framebuffer.h>
 
-struct drm_device;
-
 struct hibmc_connector {
 	struct drm_connector base;
 
Signature · 1 line
2.7.4