summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorJordan Crouse <jcrouse@codeaurora.org>2017-03-07 11:14:04 -0700
committerJordan Crouse <jcrouse@codeaurora.org>2017-03-07 14:27:47 -0700
commitbf04d45e7380525f53f4bd4dc57698d9290cfcd7 (patch)
treed7a3fa1f07fb990bc61a453bf583158ab9b0afb4 /include/uapi
parenta8cbfeb8b0cab0091572d2cb3ff9b11b37b5a260 (diff)
drm/msm: Remove DRM_MSM_NUM_IOCTLS
The ioctl array is sparsely populated but the compiler will make sure that it is sufficiently sized for all the values that we have so we can safely use ARRAY_SIZE() instead of having a constantly changing #define in the uapi header. Change-Id: Ic0dedbad39f30abb8ce340289089d2f3a5f6fe36 Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/drm/msm_drm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/uapi/drm/msm_drm.h b/include/uapi/drm/msm_drm.h
index 8ef93938155c..99fe34d25fc5 100644
--- a/include/uapi/drm/msm_drm.h
+++ b/include/uapi/drm/msm_drm.h
@@ -267,7 +267,6 @@ struct drm_msm_event_resp {
#define DRM_SDE_WB_CONFIG 0x40
#define DRM_MSM_REGISTER_EVENT 0x41
#define DRM_MSM_DEREGISTER_EVENT 0x42
-#define DRM_MSM_NUM_IOCTLS 0x43
/**
* Currently DRM framework supports only VSYNC event.