Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 52f818cc authored by Manoj Kumar AVM's avatar Manoj Kumar AVM Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm: make msm_drm.h uapi header safe for C++



fixes the C++ related compilation issues.

CRs-Fixed: 2038080
Change-Id: If6b4f379eb27f3de6153b8666f733c0b8245851f
Signed-off-by: default avatarManoj Kumar AVM <manojavm@codeaurora.org>
parent 3033ed1e
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -180,7 +180,11 @@ struct drm_msm_gem_cpu_fini {
 */
struct drm_msm_gem_submit_reloc {
	__u32 submit_offset;  /* in, offset from submit_bo */
#ifdef __cplusplus
	__u32 or_val;
#else
	__u32 or; /* in, value OR'd with result */
#endif
	__s32  shift;          /* in, amount of left shift (can be negative) */
	__u32 reloc_idx;      /* in, index of reloc_bo buffer */
	__u64 reloc_offset;   /* in, offset from start of reloc_bo */