aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drm_scatter.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/drm_scatter.c')
-rw-r--r--drivers/char/drm/drm_scatter.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/drm/drm_scatter.c b/drivers/char/drm/drm_scatter.c
index 6d8947a274ef..058495631907 100644
--- a/drivers/char/drm/drm_scatter.c
+++ b/drivers/char/drm/drm_scatter.c
@@ -65,8 +65,8 @@ void drm_sg_cleanup(drm_sg_mem_t * entry)
65int drm_sg_alloc(struct inode *inode, struct file *filp, 65int drm_sg_alloc(struct inode *inode, struct file *filp,
66 unsigned int cmd, unsigned long arg) 66 unsigned int cmd, unsigned long arg)
67{ 67{
68 drm_file_t *priv = filp->private_data; 68 struct drm_file *priv = filp->private_data;
69 drm_device_t *dev = priv->head->dev; 69 struct drm_device *dev = priv->head->dev;
70 struct drm_scatter_gather __user *argp = (void __user *)arg; 70 struct drm_scatter_gather __user *argp = (void __user *)arg;
71 struct drm_scatter_gather request; 71 struct drm_scatter_gather request;
72 drm_sg_mem_t *entry; 72 drm_sg_mem_t *entry;
@@ -201,8 +201,8 @@ int drm_sg_alloc(struct inode *inode, struct file *filp,
201int drm_sg_free(struct inode *inode, struct file *filp, 201int drm_sg_free(struct inode *inode, struct file *filp,
202 unsigned int cmd, unsigned long arg) 202 unsigned int cmd, unsigned long arg)
203{ 203{
204 drm_file_t *priv = filp->private_data; 204 struct drm_file *priv = filp->private_data;
205 drm_device_t *dev = priv->head->dev; 205 struct drm_device *dev = priv->head->dev;
206 struct drm_scatter_gather request; 206 struct drm_scatter_gather request;
207 drm_sg_mem_t *entry; 207 drm_sg_mem_t *entry;
208 208