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

CRs-Fixed: 2038080
Change-Id: Idf66084b7d07c828d96538dfb7430da2fed796f2
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Rob Clark <robdclark@gmail.com> (over irc)
Git-commit: a62424e29dc33fdf1cf9efadfbf54deefbcfe7bf
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a62424e
Signed-off-by: Manoj Kumar AVM <manojavm@codeaurora.org>
This commit is contained in:
Emil Velikov 2016-04-07 19:03:46 +01:00 committed by Manoj Kumar AVM
parent ccbadce56c
commit ef65ba5219

View file

@ -22,6 +22,10 @@
#include <drm/drm.h>
#include <drm/sde_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
@ -385,4 +389,9 @@ struct drm_msm_gem_sync {
struct drm_msm_counter_read)
#define DRM_IOCTL_MSM_GEM_SYNC DRM_IOW(DRM_COMMAND_BASE + DRM_MSM_GEM_SYNC,\
struct drm_msm_gem_sync)
#if defined(__cplusplus)
}
#endif
#endif /* __MSM_DRM_H__ */