search for: _uapi_exynos_drm_h_

Displaying 5 results from an estimated 5 matches for "_uapi_exynos_drm_h_".

2016 Apr 21
0
[PATCH 05/24] drm/exynos: add extern C guard for the UAPI header
...#include "drm.h" +#if defined(__cplusplus) +extern "C" { +#endif + /** * User-desired buffer creation information structure. * @@ -362,4 +366,8 @@ struct drm_exynos_ipp_event { __u32 buf_id[EXYNOS_DRM_OPS_MAX]; }; +#if defined(__cplusplus) +} +#endif + #endif /* _UAPI_EXYNOS_DRM_H_ */ -- 2.6.2
2013 Aug 02
3
[PATCH trivial] include: uapi: standard all files' macro prefix and suffix, excluding "linux/" sub-directory
.../* _DRM_SAREA_H_ */ +#endif /* _UAPI_DRM_DRM_SAREA_H */ diff --git a/include/uapi/drm/exynos_drm.h b/include/uapi/drm/exynos_drm.h index d584412..b7c9c84 100644 --- a/include/uapi/drm/exynos_drm.h +++ b/include/uapi/drm/exynos_drm.h @@ -12,8 +12,8 @@ * option) any later version. */ -#ifndef _UAPI_EXYNOS_DRM_H_ -#define _UAPI_EXYNOS_DRM_H_ +#ifndef _UAPI_DRM_EXYNOS_DRM_H +#define _UAPI_DRM_EXYNOS_DRM_H #include <drm/drm.h> @@ -387,4 +387,4 @@ struct drm_exynos_ipp_event { __u32 buf_id[EXYNOS_DRM_OPS_MAX]; }; -#endif /* _UAPI_EXYNOS_DRM_H_ */ +#endif /* _UAPI_DRM_EXYNOS_DRM_H */ diff --gi...
2013 Aug 02
3
[PATCH trivial] include: uapi: standard all files' macro prefix and suffix, excluding "linux/" sub-directory
.../* _DRM_SAREA_H_ */ +#endif /* _UAPI_DRM_DRM_SAREA_H */ diff --git a/include/uapi/drm/exynos_drm.h b/include/uapi/drm/exynos_drm.h index d584412..b7c9c84 100644 --- a/include/uapi/drm/exynos_drm.h +++ b/include/uapi/drm/exynos_drm.h @@ -12,8 +12,8 @@ * option) any later version. */ -#ifndef _UAPI_EXYNOS_DRM_H_ -#define _UAPI_EXYNOS_DRM_H_ +#ifndef _UAPI_DRM_EXYNOS_DRM_H +#define _UAPI_DRM_EXYNOS_DRM_H #include <drm/drm.h> @@ -387,4 +387,4 @@ struct drm_exynos_ipp_event { __u32 buf_id[EXYNOS_DRM_OPS_MAX]; }; -#endif /* _UAPI_EXYNOS_DRM_H_ */ +#endif /* _UAPI_DRM_EXYNOS_DRM_H */ diff --gi...
2013 Aug 02
3
[PATCH trivial] include: uapi: standard all files' macro prefix and suffix, excluding "linux/" sub-directory
.../* _DRM_SAREA_H_ */ +#endif /* _UAPI_DRM_DRM_SAREA_H */ diff --git a/include/uapi/drm/exynos_drm.h b/include/uapi/drm/exynos_drm.h index d584412..b7c9c84 100644 --- a/include/uapi/drm/exynos_drm.h +++ b/include/uapi/drm/exynos_drm.h @@ -12,8 +12,8 @@ * option) any later version. */ -#ifndef _UAPI_EXYNOS_DRM_H_ -#define _UAPI_EXYNOS_DRM_H_ +#ifndef _UAPI_DRM_EXYNOS_DRM_H +#define _UAPI_DRM_EXYNOS_DRM_H #include <drm/drm.h> @@ -387,4 +387,4 @@ struct drm_exynos_ipp_event { __u32 buf_id[EXYNOS_DRM_OPS_MAX]; }; -#endif /* _UAPI_EXYNOS_DRM_H_ */ +#endif /* _UAPI_DRM_EXYNOS_DRM_H */ diff --gi...
2016 Apr 21
25
[PATCH 00/24] drm: add extern C guard for the UAPI headers
Hi all, As some of you may know there some subtle distinction between C and C++ structs, thus one should wrap/annotate them roughly like below. ... #if defined(__cplusplus) extern "C" { #endif struct foo { int bar; ... }; ... #if defined(__cplusplus) } #endif In order to work around the lack of these users can wrap the header inclusion in the same way. For example: