drm/i915: Fix typo in DRM_I915_OVERLAY_PUT_IMAGE ioctl define
authorOle Henrik Jahren <olehenja@alumni.ntnu.no>
Fri, 22 Jul 2011 13:56:01 +0000 (15:56 +0200)
committerKeith Packard <keithp@keithp.com>
Fri, 22 Jul 2011 20:36:44 +0000 (13:36 -0700)
commit842d452985300f4ec14c68cb86046e8a1a3b7251
tree14c16182fe2b53292edcf8f35d07554b06fd6a2f
parent02f8c6aee8df3cdc935e9bdd4f2d020306035dbe
drm/i915: Fix typo in DRM_I915_OVERLAY_PUT_IMAGE ioctl define

Because of a typo, calling ioctl with DRM_IOCTL_I915_OVERLAY_PUT_IMAGE
is broken if the macro is used directly. When using libdrm the bug is
not hit, since libdrm handles the ioctl encoding internally.

The typo also leads to the .cmd and .cmd_drv fields of the drm_ioctl
structure for DRM_I915_OVERLAY_PUT_IMAGE having inconsistent content.

Signed-off-by: Ole Henrik Jahren <olehenja@alumni.ntnu.no>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: stable@kernel.org
Signed-off-by: Keith Packard <keithp@keithp.com>
include/drm/i915_drm.h