Thread (1 message) 1 message, 1 author, 2015-02-16
STALE4153d

Revision v02 of 2 in this series.

Revisions (2)
  1. v2 [diff vs current]
  2. v02 current

[PATCH 12/45] via_drm.h: hide struct via_file_private in userspace

From: Mikko Rapeli <hidden>
Date: 2015-02-16 23:06:57
Also in: dri-devel, lkml
Subsystem: drm drivers, drm drivers and misc gpu patches, the rest · Maintainers: David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Linus Torvalds

Fixes compiler error since list_head is not exported to userspace headers.

Signed-off-by: Mikko Rapeli <redacted>
---
 include/uapi/drm/via_drm.h | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm/via_drm.h
index 791531e..34ce658 100644
--- a/include/uapi/drm/via_drm.h
+++ b/include/uapi/drm/via_drm.h
@@ -272,8 +272,10 @@ typedef struct drm_via_dmablit {
 	drm_via_blitsync_t sync;
 } drm_via_dmablit_t;
 
+#ifdef __KERNEL__
 struct via_file_private {
 	struct list_head obj_list;
 };
+#endif
 
 #endif				/* _VIA_DRM_H_ */
-- 
2.1.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help