aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/via_dma.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-07-11 01:53:27 -0400
committerDave Airlie <airlied@linux.ie>2007-07-11 01:53:27 -0400
commit84b1fd103dbbe01b5905db1444d3fc8afa9a7207 (patch)
tree2088f4c8e68553e2d4f5d55fa7a714eb3fa09f9e /drivers/char/drm/via_dma.c
parentc60ce623bd16137627009d05e311d877729f2ad6 (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/via_dma.c')
-rw-r--r--drivers/char/drm/via_dma.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/char/drm/via_dma.c b/drivers/char/drm/via_dma.c
index 13a9c5ca4593..7ff2b623c2d4 100644
--- a/drivers/char/drm/via_dma.c
+++ b/drivers/char/drm/via_dma.c
@@ -151,7 +151,7 @@ static inline uint32_t *via_check_dma(drm_via_private_t * dev_priv,
151 return (uint32_t *) (dev_priv->dma_ptr + dev_priv->dma_low); 151 return (uint32_t *) (dev_priv->dma_ptr + dev_priv->dma_low);
152} 152}
153 153
154int via_dma_cleanup(drm_device_t * dev) 154int via_dma_cleanup(struct drm_device * dev)
155{ 155{
156 if (dev->dev_private) { 156 if (dev->dev_private) {
157 drm_via_private_t *dev_priv = 157 drm_via_private_t *dev_priv =
@@ -169,7 +169,7 @@ int via_dma_cleanup(drm_device_t * dev)
169 return 0; 169 return 0;
170} 170}
171 171
172static int via_initialize(drm_device_t * dev, 172static int via_initialize(struct drm_device * dev,
173 drm_via_private_t * dev_priv, 173 drm_via_private_t * dev_priv,
174 drm_via_dma_init_t * init) 174 drm_via_dma_init_t * init)
175{ 175{
@@ -262,7 +262,7 @@ static int via_dma_init(DRM_IOCTL_ARGS)
262 return retcode; 262 return retcode;
263} 263}
264 264
265static int via_dispatch_cmdbuffer(drm_device_t * dev, drm_via_cmdbuffer_t * cmd) 265static int via_dispatch_cmdbuffer(struct drm_device * dev, drm_via_cmdbuffer_t * cmd)
266{ 266{
267 drm_via_private_t *dev_priv; 267 drm_via_private_t *dev_priv;
268 uint32_t *vb; 268 uint32_t *vb;
@@ -316,7 +316,7 @@ static int via_dispatch_cmdbuffer(drm_device_t * dev, drm_via_cmdbuffer_t * cmd)
316 return 0; 316 return 0;
317} 317}
318 318
319int via_driver_dma_quiescent(drm_device_t * dev) 319int via_driver_dma_quiescent(struct drm_device * dev)
320{ 320{
321 drm_via_private_t *dev_priv = dev->dev_private; 321 drm_via_private_t *dev_priv = dev->dev_private;
322 322
@@ -356,7 +356,7 @@ static int via_cmdbuffer(DRM_IOCTL_ARGS)
356 return 0; 356 return 0;
357} 357}
358 358
359static int via_dispatch_pci_cmdbuffer(drm_device_t * dev, 359static int via_dispatch_pci_cmdbuffer(struct drm_device * dev,
360 drm_via_cmdbuffer_t * cmd) 360 drm_via_cmdbuffer_t * cmd)
361{ 361{
362 drm_via_private_t *dev_priv = dev->dev_private; 362 drm_via_private_t *dev_priv = dev->dev_private;