summaryrefslogtreecommitdiff
path: root/linux-core/radeon_drv.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-06-28 13:02:20 +0000
committerDave Airlie <airlied@linux.ie>2005-06-28 13:02:20 +0000
commit6397722f1990856a9ee268cadd65d78b44b24835 (patch)
tree684c6ad6a83fd589b2f6b03dfe89b224f7a67af8 /linux-core/radeon_drv.c
parent827806f697855c65a8c9821ad410467c48e25d35 (diff)
add compat code from Paul Mackerras
Diffstat (limited to 'linux-core/radeon_drv.c')
-rw-r--r--linux-core/radeon_drv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-core/radeon_drv.c b/linux-core/radeon_drv.c
index 21f29fc4..7b1aa59e 100644
--- a/linux-core/radeon_drv.c
+++ b/linux-core/radeon_drv.c
@@ -102,6 +102,9 @@ static struct drm_driver driver = {
.mmap = drm_mmap,
.poll = drm_poll,
.fasync = drm_fasync,
+#ifdef CONFIG_COMPAT
+ .compat_ioctl = radeon_compat_ioctl,
+#endif
},
.pci_driver = {
.name = DRIVER_NAME,