From 94ab96c4d8203c236c6a5a8d8a6a761ccf808662 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 5 Nov 2006 20:38:44 +1100 Subject: nouveau: add compat ioc32 support --- linux-core/nouveau_drv.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'linux-core/nouveau_drv.c') diff --git a/linux-core/nouveau_drv.c b/linux-core/nouveau_drv.c index 8ad1d849..57b55ce1 100644 --- a/linux-core/nouveau_drv.c +++ b/linux-core/nouveau_drv.c @@ -60,6 +60,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 = nouveau_compat_ioctl, +#endif }, .pci_driver = { .name = DRIVER_NAME, -- cgit v1.2.3