Commit c76af02d authored by Mikko Rapeli's avatar Mikko Rapeli Committed by Dave Airlie

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/792Signed-off-by: default avatarMikko Rapeli <mikko.rapeli@iki.fi>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 7a6007c3
...@@ -102,6 +102,10 @@ typedef struct drm_via_private { ...@@ -102,6 +102,10 @@ typedef struct drm_via_private {
uint32_t dma_diff; uint32_t dma_diff;
} drm_via_private_t; } drm_via_private_t;
struct via_file_private {
struct list_head obj_list;
};
enum via_family { enum via_family {
VIA_OTHER = 0, /* Baseline */ VIA_OTHER = 0, /* Baseline */
VIA_PRO_GROUP_A, /* Another video engine and DMA commands */ VIA_PRO_GROUP_A, /* Another video engine and DMA commands */
......
...@@ -274,8 +274,4 @@ typedef struct drm_via_dmablit { ...@@ -274,8 +274,4 @@ typedef struct drm_via_dmablit {
drm_via_blitsync_t sync; drm_via_blitsync_t sync;
} drm_via_dmablit_t; } drm_via_dmablit_t;
struct via_file_private {
struct list_head obj_list;
};
#endif /* _VIA_DRM_H_ */ #endif /* _VIA_DRM_H_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment