projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8812f38
)
drm: Untangle __KERNEL__ guards
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 30 Mar 2016 14:42:22 +0000
(16:42 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 30 Mar 2016 19:09:33 +0000
(21:09 +0200)
make headers_install can't handle fancy conditions, so let's simplify
things for it a bit.
Cc: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link:
http://patchwork.freedesktop.org/patch/msgid/1459348943-12803-1-git-send-email-daniel.vetter@ffwll.ch
include/uapi/drm/drm.h
patch
|
blob
|
blame
|
history
diff --git
a/include/uapi/drm/drm.h
b/include/uapi/drm/drm.h
index 85ada499574b2b0e975155a06dac1e509f197dc7..fbc0818bb95be0dd12f126dcc519d6b76380d3e7 100644
(file)
--- a/
include/uapi/drm/drm.h
+++ b/
include/uapi/drm/drm.h
@@
-36,7
+36,13
@@
#ifndef _DRM_H_
#define _DRM_H_
-#if defined(__KERNEL__) || defined(__linux__)
+#if defined(__KERNEL__)
+
+#include <linux/types.h>
+#include <asm/ioctl.h>
+typedef unsigned int drm_handle_t;
+
+#elif defined(__linux__)
#include <linux/types.h>
#include <asm/ioctl.h>