diff options
author | Rob Clark <robdclark@gmail.com> | 2013-08-02 13:27:49 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-08-06 20:10:02 -0400 |
commit | baa7094355a10b432bbccacb925da4bdac861c8d (patch) | |
tree | 9584b7da2bf3dae5dd4138c3c6b7d858fac21009 /include/drm | |
parent | 31e5d7c67bd492fd0b2988440e21e31809c7c9af (diff) |
drm: const'ify ioctls table (v2)
Because, there is no reason for it not to be const.
v1: original
v2: fix compile break in vmwgfx, and couple related cleanups suggested
by Ville Syrjälä
Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drmP.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 3b7fda557b8d..1a4eba627e79 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -965,7 +965,7 @@ struct drm_driver { | |||
965 | 965 | ||
966 | u32 driver_features; | 966 | u32 driver_features; |
967 | int dev_priv_size; | 967 | int dev_priv_size; |
968 | struct drm_ioctl_desc *ioctls; | 968 | const struct drm_ioctl_desc *ioctls; |
969 | int num_ioctls; | 969 | int num_ioctls; |
970 | const struct file_operations *fops; | 970 | const struct file_operations *fops; |
971 | union { | 971 | union { |