lkml.org 
[lkml]   [2015]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 12/98] sis_drm.h: hide sis_file_private in userspace
Date
Fixes compiler error:

drm/sis_drm.h:68:19: error: field ‘obj_list’ has incomplete type
struct list_head obj_list;

Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
---
include/uapi/drm/sis_drm.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/include/uapi/drm/sis_drm.h b/include/uapi/drm/sis_drm.h
index df37632..3d0903f 100644
--- a/include/uapi/drm/sis_drm.h
+++ b/include/uapi/drm/sis_drm.h
@@ -64,8 +64,10 @@ typedef struct {
unsigned long offset, size;
} drm_sis_fb_t;

+#ifdef __KERNEL__
struct sis_file_private {
struct list_head obj_list;
};
+#endif

#endif /* __SIS_DRM_H__ */
--
2.1.4


\
 
 \ /
  Last update: 2015-05-30 18:01    [W:0.568 / U:1.316 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site