diff options
author | Dave Airlie <airlied@ppcg5.localdomain> | 2006-11-05 20:38:44 +1100 |
---|---|---|
committer | Dave Airlie <airlied@ppcg5.localdomain> | 2006-11-05 20:39:13 +1100 |
commit | 94ab96c4d8203c236c6a5a8d8a6a761ccf808662 (patch) | |
tree | 9d7df881471baedbaab5980db2906eba03daa5a0 /linux-core/nouveau_drv.c | |
parent | 665c8385c7865dcc4f92b9c212d6e2b35d7fa9f0 (diff) |
nouveau: add compat ioc32 support
Diffstat (limited to 'linux-core/nouveau_drv.c')
-rw-r--r-- | linux-core/nouveau_drv.c | 3 |
1 files changed, 3 insertions, 0 deletions
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, |