[PATCH] include: linux: host1x: Remove duplicate declaration

Wan Jiabing wanjiabing at vivo.com
Thu Mar 25 02:19:36 UTC 2021


struct host1x is declared at 20th line. Remove the duplicate.

Signed-off-by: Wan Jiabing <wanjiabing at vivo.com>
---
 include/linux/host1x.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/host1x.h b/include/linux/host1x.h
index ce59a6a6a008..462f0bc7a703 100644
--- a/include/linux/host1x.h
+++ b/include/linux/host1x.h
@@ -140,7 +140,6 @@ static inline void host1x_bo_munmap(struct host1x_bo *bo, void *addr)
 
 struct host1x_syncpt_base;
 struct host1x_syncpt;
-struct host1x;
 
 struct host1x_syncpt *host1x_syncpt_get(struct host1x *host, u32 id);
 u32 host1x_syncpt_id(struct host1x_syncpt *sp);
-- 
2.25.1



More information about the dri-devel mailing list