summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-11-11 12:23:18 +0000
committerDave Airlie <airlied@linux.ie>2005-11-11 12:23:18 +0000
commitb5d71f63cdced53a8b492c3269e966088b8a3b45 (patch)
tree47c4be4e55ccc0660666c33e29636a315f3efea5 /linux-core
parent224ebd2c8d5916bdc782a60542ac04b86320a624 (diff)
enable i915 32/64 bit ioctls
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/i915_drv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-core/i915_drv.c b/linux-core/i915_drv.c
index e8cd8c03..5efa4420 100644
--- a/linux-core/i915_drv.c
+++ b/linux-core/i915_drv.c
@@ -66,6 +66,9 @@ static struct drm_driver driver = {
.mmap = drm_mmap,
.poll = drm_poll,
.fasync = drm_fasync,
+#if defined(CONFIG_COMPAT) && LINUX_VERSION_CODE > KERNEL_VERSION(2,6,9)
+ .compat_ioctl = i915_compat_ioctl,
+#endif
},
.pci_driver = {
.name = DRIVER_NAME,