diff options
author | Dave Airlie <airlied@linux.ie> | 2007-07-11 01:53:27 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-07-11 01:53:27 -0400 |
commit | 84b1fd103dbbe01b5905db1444d3fc8afa9a7207 (patch) | |
tree | 2088f4c8e68553e2d4f5d55fa7a714eb3fa09f9e /drivers/char/drm/drm_ioctl.c | |
parent | c60ce623bd16137627009d05e311d877729f2ad6 (diff) |
drm: remove drm_file_t, drm_device_t and drm_head_t typedefs
some drivers still todo.
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm_ioctl.c')
-rw-r--r-- | drivers/char/drm/drm_ioctl.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/char/drm/drm_ioctl.c b/drivers/char/drm/drm_ioctl.c index afc355318f6a..94d7428b38d2 100644 --- a/drivers/char/drm/drm_ioctl.c +++ b/drivers/char/drm/drm_ioctl.c | |||
@@ -52,8 +52,8 @@ | |||
52 | int drm_getunique(struct inode *inode, struct file *filp, | 52 | int drm_getunique(struct inode *inode, struct file *filp, |
53 | unsigned int cmd, unsigned long arg) | 53 | unsigned int cmd, unsigned long arg) |
54 | { | 54 | { |
55 | drm_file_t *priv = filp->private_data; | 55 | struct drm_file *priv = filp->private_data; |
56 | drm_device_t *dev = priv->head->dev; | 56 | struct drm_device *dev = priv->head->dev; |
57 | struct drm_unique __user *argp = (void __user *)arg; | 57 | struct drm_unique __user *argp = (void __user *)arg; |
58 | struct drm_unique u; | 58 | struct drm_unique u; |
59 | 59 | ||
@@ -86,8 +86,8 @@ int drm_getunique(struct inode *inode, struct file *filp, | |||
86 | int drm_setunique(struct inode *inode, struct file *filp, | 86 | int drm_setunique(struct inode *inode, struct file *filp, |
87 | unsigned int cmd, unsigned long arg) | 87 | unsigned int cmd, unsigned long arg) |
88 | { | 88 | { |
89 | drm_file_t *priv = filp->private_data; | 89 | struct drm_file *priv = filp->private_data; |
90 | drm_device_t *dev = priv->head->dev; | 90 | struct drm_device *dev = priv->head->dev; |
91 | struct drm_unique u; | 91 | struct drm_unique u; |
92 | int domain, bus, slot, func, ret; | 92 | int domain, bus, slot, func, ret; |
93 | 93 | ||
@@ -136,7 +136,7 @@ int drm_setunique(struct inode *inode, struct file *filp, | |||
136 | return 0; | 136 | return 0; |
137 | } | 137 | } |
138 | 138 | ||
139 | static int drm_set_busid(drm_device_t * dev) | 139 | static int drm_set_busid(struct drm_device * dev) |
140 | { | 140 | { |
141 | int len; | 141 | int len; |
142 | 142 | ||
@@ -184,8 +184,8 @@ static int drm_set_busid(drm_device_t * dev) | |||
184 | int drm_getmap(struct inode *inode, struct file *filp, | 184 | int drm_getmap(struct inode *inode, struct file *filp, |
185 | unsigned int cmd, unsigned long arg) | 185 | unsigned int cmd, unsigned long arg) |
186 | { | 186 | { |
187 | drm_file_t *priv = filp->private_data; | 187 | struct drm_file *priv = filp->private_data; |
188 | drm_device_t *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 | drm_map_list_t *r_list = NULL; |
@@ -245,11 +245,11 @@ int drm_getmap(struct inode *inode, struct file *filp, | |||
245 | int drm_getclient(struct inode *inode, struct file *filp, | 245 | int drm_getclient(struct inode *inode, struct file *filp, |
246 | unsigned int cmd, unsigned long arg) | 246 | unsigned int cmd, unsigned long arg) |
247 | { | 247 | { |
248 | drm_file_t *priv = filp->private_data; | 248 | struct drm_file *priv = filp->private_data; |
249 | drm_device_t *dev = priv->head->dev; | 249 | struct drm_device *dev = priv->head->dev; |
250 | struct drm_client __user *argp = (struct drm_client __user *)arg; | 250 | struct drm_client __user *argp = (struct drm_client __user *)arg; |
251 | struct drm_client client; | 251 | struct drm_client client; |
252 | drm_file_t *pt; | 252 | struct drm_file *pt; |
253 | int idx; | 253 | int idx; |
254 | int i; | 254 | int i; |
255 | 255 | ||
@@ -294,8 +294,8 @@ int drm_getclient(struct inode *inode, struct file *filp, | |||
294 | int drm_getstats(struct inode *inode, struct file *filp, | 294 | int drm_getstats(struct inode *inode, struct file *filp, |
295 | unsigned int cmd, unsigned long arg) | 295 | unsigned int cmd, unsigned long arg) |
296 | { | 296 | { |
297 | drm_file_t *priv = filp->private_data; | 297 | struct drm_file *priv = filp->private_data; |
298 | drm_device_t *dev = priv->head->dev; | 298 | struct drm_device *dev = priv->head->dev; |
299 | struct drm_stats stats; | 299 | struct drm_stats stats; |
300 | int i; | 300 | int i; |
301 | 301 | ||