diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-26 09:55:39 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-26 09:55:39 -0700 |
commit | 8678887e7fb43cd6c9be6c9807b05e77848e0920 (patch) | |
tree | 2c8306b2742aeac49048792ec21c9996bf3622bf /drivers/char/drm/drmP.h | |
parent | bf82322ec5d5faa8bfd8f163909244d8c6b562d5 (diff) | |
parent | 9a18664506dbce5e23f3c5de7b1c5a042dd26520 (diff) | |
download | blackbird-op-linux-8678887e7fb43cd6c9be6c9807b05e77848e0920.tar.gz blackbird-op-linux-8678887e7fb43cd6c9be6c9807b05e77848e0920.zip |
Merge 'drm-3264' branch of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6
Diffstat (limited to 'drivers/char/drm/drmP.h')
-rw-r--r-- | drivers/char/drm/drmP.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h index 21f4c54e1a8d..b04ddf12a0ff 100644 --- a/drivers/char/drm/drmP.h +++ b/drivers/char/drm/drmP.h @@ -316,6 +316,9 @@ do { \ typedef int drm_ioctl_t( struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg ); +typedef int drm_ioctl_compat_t(struct file *filp, unsigned int cmd, + unsigned long arg); + typedef struct drm_ioctl_desc { drm_ioctl_t *func; int auth_needed; @@ -775,6 +778,8 @@ extern int drm_version(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg); extern int drm_ioctl(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg); +extern long drm_compat_ioctl(struct file *filp, + unsigned int cmd, unsigned long arg); extern int drm_takedown(drm_device_t * dev); /* Device support (drm_fops.h) */ |