drm/hisilicon: Deleted the drm_device declaration
authorTian Tao <tiantao6@hisilicon.com>
Fri, 25 Sep 2020 07:48:06 +0000 (15:48 +0800)
committerTian Tao <tiantao6@hisilicon.com>
Mon, 28 Sep 2020 11:30:49 +0000 (07:30 -0400)
drm_framebuffer.h already declares struct drm_device, so there's no
need to declare it in hibmc_drm_drv.h

v2:
fixed spelling errors in commit message.

v3:
rewrite the commit message.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/1601020086-43652-1-git-send-email-tiantao6@hisilicon.com
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h

index 87d2aad0bb5e252a5f3b664c4952b2de5300fdce..6a635027f75840eba2f1e4eb334d4a5fbe454671 100644 (file)
@@ -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;