projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5842ab7
)
drm/drm_internal.h: Remove repeated struct declaration
author
Wan Jiabing
<wanjiabing@vivo.com>
Thu, 1 Apr 2021 08:17:03 +0000
(16:17 +0800)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Thu, 8 Apr 2021 11:05:38 +0000
(13:05 +0200)
struct drm_gem_object is declared twice. One is declared
at 40th line. The blew one is not needed. Remove the duplicate.
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link:
https://patchwork.freedesktop.org/patch/msgid/20210401081704.1000863-1-wanjiabing@vivo.com
drivers/gpu/drm/drm_internal.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_internal.h
b/drivers/gpu/drm/drm_internal.h
index
fad2249
..
1265de2
100644
(file)
--- a/
drivers/gpu/drm/drm_internal.h
+++ b/
drivers/gpu/drm/drm_internal.h
@@
-170,7
+170,6
@@
void drm_sysfs_connector_remove(struct drm_connector *connector);
void drm_sysfs_lease_event(struct drm_device *dev);
/* drm_gem.c */
-struct drm_gem_object;
int drm_gem_init(struct drm_device *dev);
int drm_gem_handle_create_tail(struct drm_file *file_priv,
struct drm_gem_object *obj,