Skip to content

Commit

Permalink
drm/msm: add extern C guard for the UAPI header
Browse files Browse the repository at this point in the history
Signed-off-by: Emil Velikov <[email protected]>
Acked-by: Rob Clark <[email protected]> (over irc)
  • Loading branch information
evelikov committed May 13, 2016
1 parent c56e046 commit a62424e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions include/uapi/drm/msm_drm.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,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:
* 1) Do not use pointers, use __u64 instead for 32 bit / 64 bit
Expand Down Expand Up @@ -217,4 +221,8 @@ struct drm_msm_wait_fence {
#define DRM_IOCTL_MSM_GEM_SUBMIT DRM_IOWR(DRM_COMMAND_BASE + DRM_MSM_GEM_SUBMIT, struct drm_msm_gem_submit)
#define DRM_IOCTL_MSM_WAIT_FENCE DRM_IOW (DRM_COMMAND_BASE + DRM_MSM_WAIT_FENCE, struct drm_msm_wait_fence)

#if defined(__cplusplus)
}
#endif

#endif /* __MSM_DRM_H__ */

0 comments on commit a62424e

Please sign in to comment.