diff options
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/drm/msm_drm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/drm/msm_drm.h b/include/uapi/drm/msm_drm.h index 254d3e92d18e..bf19d2cd9078 100644 --- a/include/uapi/drm/msm_drm.h +++ b/include/uapi/drm/msm_drm.h | |||
| @@ -20,6 +20,10 @@ | |||
| 20 | 20 | ||
| 21 | #include "drm.h" | 21 | #include "drm.h" |
| 22 | 22 | ||
| 23 | #if defined(__cplusplus) | ||
| 24 | extern "C" { | ||
| 25 | #endif | ||
| 26 | |||
| 23 | /* Please note that modifications to all structs defined here are | 27 | /* Please note that modifications to all structs defined here are |
| 24 | * subject to backwards-compatibility constraints: | 28 | * subject to backwards-compatibility constraints: |
| 25 | * 1) Do not use pointers, use __u64 instead for 32 bit / 64 bit | 29 | * 1) Do not use pointers, use __u64 instead for 32 bit / 64 bit |
| @@ -217,4 +221,8 @@ struct drm_msm_wait_fence { | |||
| 217 | #define DRM_IOCTL_MSM_GEM_SUBMIT DRM_IOWR(DRM_COMMAND_BASE + DRM_MSM_GEM_SUBMIT, struct drm_msm_gem_submit) | 221 | #define DRM_IOCTL_MSM_GEM_SUBMIT DRM_IOWR(DRM_COMMAND_BASE + DRM_MSM_GEM_SUBMIT, struct drm_msm_gem_submit) |
| 218 | #define DRM_IOCTL_MSM_WAIT_FENCE DRM_IOW (DRM_COMMAND_BASE + DRM_MSM_WAIT_FENCE, struct drm_msm_wait_fence) | 222 | #define DRM_IOCTL_MSM_WAIT_FENCE DRM_IOW (DRM_COMMAND_BASE + DRM_MSM_WAIT_FENCE, struct drm_msm_wait_fence) |
| 219 | 223 | ||
| 224 | #if defined(__cplusplus) | ||
| 225 | } | ||
| 226 | #endif | ||
| 227 | |||
| 220 | #endif /* __MSM_DRM_H__ */ | 228 | #endif /* __MSM_DRM_H__ */ |
