[PATCH 14/45] sis_drm.h: hide sis_file_private in userspace

From: Mikko Rapeli
Date: Mon Feb 16 2015 - 18:07:10 EST


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@xxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/