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 /shared-core | |
parent | 665c8385c7865dcc4f92b9c212d6e2b35d7fa9f0 (diff) |
nouveau: add compat ioc32 support
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/nouveau_drv.h | 3 |
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) ) |