aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drm_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/drm_drv.c')
-rw-r--r--drivers/char/drm/drm_drv.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/char/drm/drm_drv.c b/drivers/char/drm/drm_drv.c
index 4036c7cf7c05..6c7aae6c5b67 100644
--- a/drivers/char/drm/drm_drv.c
+++ b/drivers/char/drm/drm_drv.c
@@ -129,7 +129,7 @@ static drm_ioctl_desc_t drm_ioctls[] = {
129 * 129 *
130 * \sa drm_device 130 * \sa drm_device
131 */ 131 */
132int drm_lastclose(drm_device_t * dev) 132int drm_lastclose(struct drm_device * dev)
133{ 133{
134 drm_magic_entry_t *pt, *next; 134 drm_magic_entry_t *pt, *next;
135 drm_map_list_t *r_list, *list_t; 135 drm_map_list_t *r_list, *list_t;
@@ -290,7 +290,7 @@ EXPORT_SYMBOL(drm_init);
290 * 290 *
291 * \sa drm_init 291 * \sa drm_init
292 */ 292 */
293static void drm_cleanup(drm_device_t * dev) 293static void drm_cleanup(struct drm_device * dev)
294{ 294{
295 DRM_DEBUG("\n"); 295 DRM_DEBUG("\n");
296 296
@@ -330,8 +330,8 @@ static void drm_cleanup(drm_device_t * dev)
330void drm_exit(struct drm_driver *driver) 330void drm_exit(struct drm_driver *driver)
331{ 331{
332 int i; 332 int i;
333 drm_device_t *dev = NULL; 333 struct drm_device *dev = NULL;
334 drm_head_t *head; 334 struct drm_head *head;
335 335
336 DRM_DEBUG("\n"); 336 DRM_DEBUG("\n");
337 337
@@ -430,8 +430,8 @@ module_exit(drm_core_exit);
430static int drm_version(struct inode *inode, struct file *filp, 430static int drm_version(struct inode *inode, struct file *filp,
431 unsigned int cmd, unsigned long arg) 431 unsigned int cmd, unsigned long arg)
432{ 432{
433 drm_file_t *priv = filp->private_data; 433 struct drm_file *priv = filp->private_data;
434 drm_device_t *dev = priv->head->dev; 434 struct drm_device *dev = priv->head->dev;
435 struct drm_version __user *argp = (void __user *)arg; 435 struct drm_version __user *argp = (void __user *)arg;
436 struct drm_version version; 436 struct drm_version version;
437 int len; 437 int len;
@@ -466,8 +466,8 @@ static int drm_version(struct inode *inode, struct file *filp,
466int drm_ioctl(struct inode *inode, struct file *filp, 466int drm_ioctl(struct inode *inode, struct file *filp,
467 unsigned int cmd, unsigned long arg) 467 unsigned int cmd, unsigned long arg)
468{ 468{
469 drm_file_t *priv = filp->private_data; 469 struct drm_file *priv = filp->private_data;
470 drm_device_t *dev = priv->head->dev; 470 struct drm_device *dev = priv->head->dev;
471 drm_ioctl_desc_t *ioctl; 471 drm_ioctl_desc_t *ioctl;
472 drm_ioctl_t *func; 472 drm_ioctl_t *func;
473 unsigned int nr = DRM_IOCTL_NR(cmd); 473 unsigned int nr = DRM_IOCTL_NR(cmd);