summaryrefslogtreecommitdiff
path: root/shared-core/nouveau_drv.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@ppcg5.localdomain>2006-11-05 20:38:44 +1100
committerDave Airlie <airlied@ppcg5.localdomain>2006-11-05 20:39:13 +1100
commit94ab96c4d8203c236c6a5a8d8a6a761ccf808662 (patch)
tree9d7df881471baedbaab5980db2906eba03daa5a0 /shared-core/nouveau_drv.h
parent665c8385c7865dcc4f92b9c212d6e2b35d7fa9f0 (diff)
nouveau: add compat ioc32 support
Diffstat (limited to 'shared-core/nouveau_drv.h')
-rw-r--r--shared-core/nouveau_drv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared-core/nouveau_drv.h b/shared-core/nouveau_drv.h
index 4b35e6d1..f579026a 100644
--- a/shared-core/nouveau_drv.h
+++ b/shared-core/nouveau_drv.h
@@ -171,6 +171,9 @@ extern void nouveau_irq_preinstall(drm_device_t*);
extern void nouveau_irq_postinstall(drm_device_t*);
extern void nouveau_irq_uninstall(drm_device_t*);
+extern long nouveau_compat_ioctl(struct file *filp, unsigned int cmd,
+ unsigned long arg);
+
#if defined(__powerpc__)
#define NV_READ(reg) in_be32((void __iomem *)(dev_priv->mmio)->handle + (reg) )
#define NV_WRITE(reg,val) out_be32((void __iomem *)(dev_priv->mmio)->handle + (reg) , (val) )