Message ID | 1424127948-22484-15-git-send-email-mikko.rapeli@iki.fi (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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__ */
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(+)