drm: add 32/64 support for MGA/R128/i915
[linux-2.6.git] / drivers / char / drm / i915_drv.c
index e6a9e1d1d2831a6fa17ff660c12146359a58e33a..6a6cc3c0c4c33bc8cb1c602327c1ddd8dc012dca 100644 (file)
@@ -97,6 +97,9 @@ static struct drm_driver driver = {
                .mmap = drm_mmap,
                .poll = drm_poll,
                .fasync = drm_fasync,
+#ifdef CONFIG_COMPAT
+               .compat_ioctl = i915_compat_ioctl,
+#endif
        },
        .pci_driver = {
                .name          = DRIVER_NAME,