summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/sis
diff options
context:
space:
mode:
authorMikko Rapeli <mikko.rapeli@iki.fi>2015-10-15 07:55:50 +0200
committerDave Airlie <airlied@redhat.com>2015-10-16 11:27:46 +1000
commit7a6007c309c9b0e573dc17ac9d81e8b5f173847d (patch)
treef20c8ef8e46992eea72c253c11795d12a86b7764 /drivers/gpu/drm/sis
parent9ace42b1d14b70a0db6d0d5bf8240beddf65d075 (diff)
downloadlinux-7a6007c309c9b0e573dc17ac9d81e8b5f173847d.tar.gz
linux-7a6007c309c9b0e573dc17ac9d81e8b5f173847d.tar.bz2
linux-7a6007c309c9b0e573dc17ac9d81e8b5f173847d.zip
include/uapi/drm/sis_drm.h: move sis_file_private to drivers/gpu/drm/sis/sis_drv.h
Fixes userspace compile error: drm/sis_drm.h:68:19: error: field ‘obj_list’ has incomplete type struct list_head obj_list; Suggested by Emil Velikov <emil.l.velikov@gmail.com> at https://lkml.org/lkml/2015/6/3/792 Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/sis')
-rw-r--r--drivers/gpu/drm/sis/sis_drv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sis/sis_drv.h b/drivers/gpu/drm/sis/sis_drv.h
index 16f972b2a76a..328f8a750976 100644
--- a/drivers/gpu/drm/sis/sis_drv.h
+++ b/drivers/gpu/drm/sis/sis_drv.h
@@ -67,6 +67,10 @@ typedef struct drm_sis_private {
struct idr object_idr;
} drm_sis_private_t;
+struct sis_file_private {
+ struct list_head obj_list;
+};
+
extern int sis_idle(struct drm_device *dev);
extern void sis_reclaim_buffers_locked(struct drm_device *dev,
struct drm_file *file_priv);