提交 b1c1f5c4 编写于 作者: E Emil Velikov

drm/i915: add extern C guard for the UAPI header

Cc: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: NEmil Velikov <emil.l.velikov@gmail.com>
Acked-by: NDaniel Vetter <daniel.vetter@intel.com>
上级 79e7328d
......@@ -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_ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册