Commit Graph
5 Commits
Author SHA1 Message Date
Emil Velikov b6c2b64223 drm/via: add extern C guard for the UAPI header
Signed-off-by: Emil Velikov <[email protected]>
2016-05-13 14:06:19 +01:00
Gabriel Laskar d7e12cd7b8 drm: fix inclusion of drm.h in via_drm.h
Using `#include "drm.h"` instead of `#include <drm/drm.h>` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.

Signed-off-by: Gabriel Laskar <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
CC: Emil Velikov <[email protected]>
CC: Mikko Rapeli <[email protected]>
2015-12-10 12:33:23 +01:00
Mikko Rapeli 5b8573f7a0 via_drm.h: don't include non-existing via_drmclient.h
Fixes compiler error:

drm/via_drm.h:36:27: fatal error: via_drmclient.h: No such file or directory

Signed-off-by: Mikko Rapeli <[email protected]>
2015-12-10 12:33:23 +01:00
Mikko Rapeli c76af02d90 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 <[email protected]> at
https://lkml.org/lkml/2015/6/3/792

Signed-off-by: Mikko Rapeli <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
2015-10-16 11:27:49 +10:00
David Howells 718dcedd7e UAPI: (Scripted) Disintegrate include/drm
Signed-off-by: David Howells <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Acked-by: Michael Kerrisk <[email protected]>
Acked-by: Paul E. McKenney <[email protected]>
Acked-by: Dave Jones <[email protected]>
2012-10-04 18:21:50 +01:00