diff options
Diffstat (limited to 'drivers/char/drm/drm_ioctl.c')
-rw-r--r-- | drivers/char/drm/drm_ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/drm/drm_ioctl.c b/drivers/char/drm/drm_ioctl.c index 94d7428b38d2..b195e102e737 100644 --- a/drivers/char/drm/drm_ioctl.c +++ b/drivers/char/drm/drm_ioctl.c | |||
@@ -188,7 +188,7 @@ int drm_getmap(struct inode *inode, struct file *filp, | |||
188 | struct drm_device *dev = priv->head->dev; | 188 | struct drm_device *dev = priv->head->dev; |
189 | struct drm_map __user *argp = (void __user *)arg; | 189 | struct drm_map __user *argp = (void __user *)arg; |
190 | struct drm_map map; | 190 | struct drm_map map; |
191 | drm_map_list_t *r_list = NULL; | 191 | struct drm_map_list *r_list = NULL; |
192 | struct list_head *list; | 192 | struct list_head *list; |
193 | int idx; | 193 | int idx; |
194 | int i; | 194 | int i; |
@@ -206,7 +206,7 @@ int drm_getmap(struct inode *inode, struct file *filp, | |||
206 | i = 0; | 206 | i = 0; |
207 | list_for_each(list, &dev->maplist) { | 207 | list_for_each(list, &dev->maplist) { |
208 | if (i == idx) { | 208 | if (i == idx) { |
209 | r_list = list_entry(list, drm_map_list_t, head); | 209 | r_list = list_entry(list, struct drm_map_list, head); |
210 | break; | 210 | break; |
211 | } | 211 | } |
212 | i++; | 212 | i++; |