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