diff options
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 { \ | |||
316 | typedef int drm_ioctl_t( struct inode *inode, struct file *filp, | 316 | typedef int drm_ioctl_t( struct inode *inode, struct file *filp, |
317 | unsigned int cmd, unsigned long arg ); | 317 | unsigned int cmd, unsigned long arg ); |
318 | 318 | ||
319 | typedef int drm_ioctl_compat_t(struct file *filp, unsigned int cmd, | ||
320 | unsigned long arg); | ||
321 | |||
319 | typedef struct drm_ioctl_desc { | 322 | typedef struct drm_ioctl_desc { |
320 | drm_ioctl_t *func; | 323 | drm_ioctl_t *func; |
321 | int auth_needed; | 324 | int auth_needed; |
@@ -775,6 +778,8 @@ extern int drm_version(struct inode *inode, struct file *filp, | |||
775 | unsigned int cmd, unsigned long arg); | 778 | unsigned int cmd, unsigned long arg); |
776 | extern int drm_ioctl(struct inode *inode, struct file *filp, | 779 | extern int drm_ioctl(struct inode *inode, struct file *filp, |
777 | unsigned int cmd, unsigned long arg); | 780 | unsigned int cmd, unsigned long arg); |
781 | extern long drm_compat_ioctl(struct file *filp, | ||
782 | unsigned int cmd, unsigned long arg); | ||
778 | extern int drm_takedown(drm_device_t * dev); | 783 | extern int drm_takedown(drm_device_t * dev); |
779 | 784 | ||
780 | /* Device support (drm_fops.h) */ | 785 | /* Device support (drm_fops.h) */ |