aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/via_irq.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_irq.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_irq.c')
-rw-r--r--drivers/char/drm/via_irq.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/char/drm/via_irq.c b/drivers/char/drm/via_irq.c
index 1ac5941ad237..8dc99b5fbab6 100644
--- a/drivers/char/drm/via_irq.c
+++ b/drivers/char/drm/via_irq.c
@@ -98,7 +98,7 @@ static unsigned time_diff(struct timeval *now, struct timeval *then)
98 98
99irqreturn_t via_driver_irq_handler(DRM_IRQ_ARGS) 99irqreturn_t via_driver_irq_handler(DRM_IRQ_ARGS)
100{ 100{
101 drm_device_t *dev = (drm_device_t *) arg; 101 struct drm_device *dev = (struct drm_device *) arg;
102 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; 102 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private;
103 u32 status; 103 u32 status;
104 int handled = 0; 104 int handled = 0;
@@ -163,7 +163,7 @@ static __inline__ void viadrv_acknowledge_irqs(drm_via_private_t * dev_priv)
163 } 163 }
164} 164}
165 165
166int via_driver_vblank_wait(drm_device_t * dev, unsigned int *sequence) 166int via_driver_vblank_wait(struct drm_device * dev, unsigned int *sequence)
167{ 167{
168 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; 168 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private;
169 unsigned int cur_vblank; 169 unsigned int cur_vblank;
@@ -191,7 +191,7 @@ int via_driver_vblank_wait(drm_device_t * dev, unsigned int *sequence)
191} 191}
192 192
193static int 193static int
194via_driver_irq_wait(drm_device_t * dev, unsigned int irq, int force_sequence, 194via_driver_irq_wait(struct drm_device * dev, unsigned int irq, int force_sequence,
195 unsigned int *sequence) 195 unsigned int *sequence)
196{ 196{
197 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; 197 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private;
@@ -244,7 +244,7 @@ via_driver_irq_wait(drm_device_t * dev, unsigned int irq, int force_sequence,
244 * drm_dma.h hooks 244 * drm_dma.h hooks
245 */ 245 */
246 246
247void via_driver_irq_preinstall(drm_device_t * dev) 247void via_driver_irq_preinstall(struct drm_device * dev)
248{ 248{
249 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; 249 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private;
250 u32 status; 250 u32 status;
@@ -293,7 +293,7 @@ void via_driver_irq_preinstall(drm_device_t * dev)
293 } 293 }
294} 294}
295 295
296void via_driver_irq_postinstall(drm_device_t * dev) 296void via_driver_irq_postinstall(struct drm_device * dev)
297{ 297{
298 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; 298 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private;
299 u32 status; 299 u32 status;
@@ -312,7 +312,7 @@ void via_driver_irq_postinstall(drm_device_t * dev)
312 } 312 }
313} 313}
314 314
315void via_driver_irq_uninstall(drm_device_t * dev) 315void via_driver_irq_uninstall(struct drm_device * dev)
316{ 316{
317 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; 317 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private;
318 u32 status; 318 u32 status;