]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: Remove DRM_MSM_NUM_IOCTLS
authorJordan Crouse <jcrouse@codeaurora.org>
Mon, 8 May 2017 20:34:59 +0000 (14:34 -0600)
committerRob Clark <robdclark@gmail.com>
Fri, 16 Jun 2017 15:15:46 +0000 (11:15 -0400)
commit804ac0cbf1d539954a235076fdfee66e67abf62d
treed3079b87ec1cdee3a2ef53b909437bed022c772a
parent32c94053453528fad70dd669e5880464741e5445
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.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_drv.c
include/uapi/drm/msm_drm.h