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)
lore
Share & tools
lore

Tian Tao

author maintainer
#0 lore raw

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

drm_framebuffer.h already declares struct drm_device, so there's no need to declare it in hibm_drm_drv.h

v2:
fixed spelling errors in commit message.

v3:
rewrite the 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