diff options
Diffstat (limited to 'drivers/char/drm/drm_irq.c')
-rw-r--r-- | drivers/char/drm/drm_irq.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/char/drm/drm_irq.c b/drivers/char/drm/drm_irq.c index ae3053ce7b2c..6b2b3d626ced 100644 --- a/drivers/char/drm/drm_irq.c +++ b/drivers/char/drm/drm_irq.c | |||
@@ -55,8 +55,8 @@ int drm_irq_by_busid(struct inode *inode, struct file *filp, | |||
55 | { | 55 | { |
56 | drm_file_t *priv = filp->private_data; | 56 | drm_file_t *priv = filp->private_data; |
57 | drm_device_t *dev = priv->head->dev; | 57 | drm_device_t *dev = priv->head->dev; |
58 | drm_irq_busid_t __user *argp = (void __user *)arg; | 58 | struct drm_irq_busid __user *argp = (void __user *)arg; |
59 | drm_irq_busid_t p; | 59 | struct drm_irq_busid p; |
60 | 60 | ||
61 | if (!drm_core_check_feature(dev, DRIVER_HAVE_IRQ)) | 61 | if (!drm_core_check_feature(dev, DRIVER_HAVE_IRQ)) |
62 | return -EINVAL; | 62 | return -EINVAL; |
@@ -199,11 +199,11 @@ int drm_control(struct inode *inode, struct file *filp, | |||
199 | { | 199 | { |
200 | drm_file_t *priv = filp->private_data; | 200 | drm_file_t *priv = filp->private_data; |
201 | drm_device_t *dev = priv->head->dev; | 201 | drm_device_t *dev = priv->head->dev; |
202 | drm_control_t ctl; | 202 | struct drm_control ctl; |
203 | 203 | ||
204 | /* if we haven't irq we fallback for compatibility reasons - this used to be a separate function in drm_dma.h */ | 204 | /* if we haven't irq we fallback for compatibility reasons - this used to be a separate function in drm_dma.h */ |
205 | 205 | ||
206 | if (copy_from_user(&ctl, (drm_control_t __user *) arg, sizeof(ctl))) | 206 | if (copy_from_user(&ctl, (struct drm_control __user *) arg, sizeof(ctl))) |
207 | return -EFAULT; | 207 | return -EFAULT; |
208 | 208 | ||
209 | switch (ctl.func) { | 209 | switch (ctl.func) { |
@@ -246,8 +246,8 @@ int drm_wait_vblank(DRM_IOCTL_ARGS) | |||
246 | { | 246 | { |
247 | drm_file_t *priv = filp->private_data; | 247 | drm_file_t *priv = filp->private_data; |
248 | drm_device_t *dev = priv->head->dev; | 248 | drm_device_t *dev = priv->head->dev; |
249 | drm_wait_vblank_t __user *argp = (void __user *)data; | 249 | union drm_wait_vblank __user *argp = (void __user *)data; |
250 | drm_wait_vblank_t vblwait; | 250 | union drm_wait_vblank vblwait; |
251 | struct timeval now; | 251 | struct timeval now; |
252 | int ret = 0; | 252 | int ret = 0; |
253 | unsigned int flags, seq; | 253 | unsigned int flags, seq; |