Ville Syrjälä 9c7d3d3e28 drm: Fix DRM_IOCTL_DEF_DRV()
Currently DRM_IOCTL_DEF_DRV does '[DRM_IOCTL_NR(DRM_##ioctl)]' which
doesn't make much sense since DRM_##ioctl is already a the raw ioctl
number. So change it to 'DRM_IOCTL_NR(DRM_IOCTL_##ioctl) - DRM_COMMAND_BASE'
which means the DRM_IOCTL_NR() now makes sense, and also this also means
if there's a mistake in the DRM_IOCTL_##ioctl macros we might get a
warning about it (eg. we would have gotten a sparse warning about the
i915 colorkey get/set ioctl being defined to be the same thing).

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2015-03-27 16:08:29 +01:00
..
2010-08-10 08:20:20 +10:00
2012-11-28 18:36:05 +10:00
2012-05-31 17:49:26 -07:00
2014-11-12 17:56:12 +10:00
2013-12-18 11:35:45 +10:00
2014-10-28 10:44:36 -04:00
2015-03-27 16:08:29 +01:00
2014-03-17 20:11:57 +01:00
2015-03-09 19:58:30 +10:00