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/sis_mm.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/sis_mm.c')
-rw-r--r-- | drivers/char/drm/sis_mm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/char/drm/sis_mm.c b/drivers/char/drm/sis_mm.c index 6875a2eda09d..59e7f48da4d3 100644 --- a/drivers/char/drm/sis_mm.c +++ b/drivers/char/drm/sis_mm.c | |||
@@ -123,7 +123,7 @@ static int sis_fb_init(DRM_IOCTL_ARGS) | |||
123 | return 0; | 123 | return 0; |
124 | } | 124 | } |
125 | 125 | ||
126 | static int sis_drm_alloc(drm_device_t * dev, drm_file_t * priv, | 126 | static int sis_drm_alloc(struct drm_device *dev, struct drm_file * priv, |
127 | unsigned long data, int pool) | 127 | unsigned long data, int pool) |
128 | { | 128 | { |
129 | drm_sis_private_t *dev_priv = dev->dev_private; | 129 | drm_sis_private_t *dev_priv = dev->dev_private; |
@@ -229,7 +229,7 @@ static int sis_ioctl_agp_alloc(DRM_IOCTL_ARGS) | |||
229 | return sis_drm_alloc(dev, priv, data, AGP_TYPE); | 229 | return sis_drm_alloc(dev, priv, data, AGP_TYPE); |
230 | } | 230 | } |
231 | 231 | ||
232 | static drm_local_map_t *sis_reg_init(drm_device_t *dev) | 232 | static drm_local_map_t *sis_reg_init(struct drm_device *dev) |
233 | { | 233 | { |
234 | drm_map_list_t *entry; | 234 | drm_map_list_t *entry; |
235 | drm_local_map_t *map; | 235 | drm_local_map_t *map; |
@@ -245,7 +245,7 @@ static drm_local_map_t *sis_reg_init(drm_device_t *dev) | |||
245 | return NULL; | 245 | return NULL; |
246 | } | 246 | } |
247 | 247 | ||
248 | int sis_idle(drm_device_t *dev) | 248 | int sis_idle(struct drm_device *dev) |
249 | { | 249 | { |
250 | drm_sis_private_t *dev_priv = dev->dev_private; | 250 | drm_sis_private_t *dev_priv = dev->dev_private; |
251 | uint32_t idle_reg; | 251 | uint32_t idle_reg; |
@@ -314,10 +314,10 @@ void sis_lastclose(struct drm_device *dev) | |||
314 | mutex_unlock(&dev->struct_mutex); | 314 | mutex_unlock(&dev->struct_mutex); |
315 | } | 315 | } |
316 | 316 | ||
317 | void sis_reclaim_buffers_locked(drm_device_t * dev, struct file *filp) | 317 | void sis_reclaim_buffers_locked(struct drm_device * dev, struct file *filp) |
318 | { | 318 | { |
319 | drm_sis_private_t *dev_priv = dev->dev_private; | 319 | drm_sis_private_t *dev_priv = dev->dev_private; |
320 | drm_file_t *priv = filp->private_data; | 320 | struct drm_file *priv = filp->private_data; |
321 | 321 | ||
322 | mutex_lock(&dev->struct_mutex); | 322 | mutex_lock(&dev->struct_mutex); |
323 | if (drm_sman_owner_clean(&dev_priv->sman, (unsigned long)priv)) { | 323 | if (drm_sman_owner_clean(&dev_priv->sman, (unsigned long)priv)) { |