diff options
author | Mikko Rapeli <mikko.rapeli@iki.fi> | 2015-10-15 07:55:48 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2015-10-16 11:27:49 +1000 |
commit | c76af02d90ee9e9d2ef478fc6f874ad2abcf3ec9 (patch) | |
tree | f330760da1431b8a5c2062fc6abc05cff6bf7d3e /drivers/gpu/drm | |
parent | 7a6007c309c9b0e573dc17ac9d81e8b5f173847d (diff) |
via_drm.h: move struct via_file_private definition to drivers/gpu/drm/via/via_drv.h
Fixes userspace compile error since list_head is not exported to userspace
headers.
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')
-rw-r--r-- | drivers/gpu/drm/via/via_drv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/via/via_drv.h b/drivers/gpu/drm/via/via_drv.h index 644093f5046c..286a785fab4f 100644 --- a/drivers/gpu/drm/via/via_drv.h +++ b/drivers/gpu/drm/via/via_drv.h @@ -102,6 +102,10 @@ typedef struct drm_via_private { uint32_t dma_diff; } drm_via_private_t; +struct via_file_private { + struct list_head obj_list; +}; + enum via_family { VIA_OTHER = 0, /* Baseline */ VIA_PRO_GROUP_A, /* Another video engine and DMA commands */ |