mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-13 21:02:35 +00:00
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>
This commit is contained in:
parent
7a6007c309
commit
c76af02d90
@ -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 {
|
|||||||
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_ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user