diff options
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r-- | include/drm/drmP.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 61196592152e..63d17ee9eb48 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -316,6 +316,7 @@ struct drm_ioctl_desc { | |||
316 | int flags; | 316 | int flags; |
317 | drm_ioctl_t *func; | 317 | drm_ioctl_t *func; |
318 | unsigned int cmd_drv; | 318 | unsigned int cmd_drv; |
319 | const char *name; | ||
319 | }; | 320 | }; |
320 | 321 | ||
321 | /** | 322 | /** |
@@ -324,7 +325,7 @@ struct drm_ioctl_desc { | |||
324 | */ | 325 | */ |
325 | 326 | ||
326 | #define DRM_IOCTL_DEF_DRV(ioctl, _func, _flags) \ | 327 | #define DRM_IOCTL_DEF_DRV(ioctl, _func, _flags) \ |
327 | [DRM_IOCTL_NR(DRM_##ioctl)] = {.cmd = DRM_##ioctl, .func = _func, .flags = _flags, .cmd_drv = DRM_IOCTL_##ioctl} | 328 | [DRM_IOCTL_NR(DRM_##ioctl)] = {.cmd = DRM_##ioctl, .func = _func, .flags = _flags, .cmd_drv = DRM_IOCTL_##ioctl, .name = #ioctl} |
328 | 329 | ||
329 | struct drm_magic_entry { | 330 | struct drm_magic_entry { |
330 | struct list_head head; | 331 | struct list_head head; |