projects
/
GitHub
/
LineageOS
/
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:
79e7328
)
drm/i915: add extern C guard for the UAPI header
author
Emil Velikov
<emil.l.velikov@gmail.com>
Thu, 7 Apr 2016 18:00:35 +0000
(19:00 +0100)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Fri, 13 May 2016 13:05:53 +0000
(14:05 +0100)
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Daniel Vetter <daniel.vetter@intel.com>
include/uapi/drm/i915_drm.h
patch
|
blob
|
blame
|
history
diff --git
a/include/uapi/drm/i915_drm.h
b/include/uapi/drm/i915_drm.h
index a5524cc95ff8b6acd1c7a79bb554b0f24cf7bc42..c17d63d8b54379be763de966b7a9ce8b70028aaa 100644
(file)
--- a/
include/uapi/drm/i915_drm.h
+++ b/
include/uapi/drm/i915_drm.h
@@
-29,6
+29,10
@@
#include "drm.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
/* Please note that modifications to all structs defined here are
* subject to backwards-compatibility constraints.
*/
@@
-1170,4
+1174,8
@@
struct drm_i915_gem_context_param {
__u64 value;
};
+#if defined(__cplusplus)
+}
+#endif
+
#endif /* _UAPI_I915_DRM_H_ */