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