diff options
Diffstat (limited to 'drivers/char/drm/r128_drv.h')
-rw-r--r-- | drivers/char/drm/r128_drv.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/char/drm/r128_drv.h b/drivers/char/drm/r128_drv.h index 9086835686dc..72249fb2fd1c 100644 --- a/drivers/char/drm/r128_drv.h +++ b/drivers/char/drm/r128_drv.h | |||
@@ -57,7 +57,7 @@ | |||
57 | 57 | ||
58 | typedef struct drm_r128_freelist { | 58 | typedef struct drm_r128_freelist { |
59 | unsigned int age; | 59 | unsigned int age; |
60 | drm_buf_t *buf; | 60 | struct drm_buf *buf; |
61 | struct drm_r128_freelist *next; | 61 | struct drm_r128_freelist *next; |
62 | struct drm_r128_freelist *prev; | 62 | struct drm_r128_freelist *prev; |
63 | } drm_r128_freelist_t; | 63 | } drm_r128_freelist_t; |
@@ -118,7 +118,7 @@ typedef struct drm_r128_private { | |||
118 | drm_local_map_t *cce_ring; | 118 | drm_local_map_t *cce_ring; |
119 | drm_local_map_t *ring_rptr; | 119 | drm_local_map_t *ring_rptr; |
120 | drm_local_map_t *agp_textures; | 120 | drm_local_map_t *agp_textures; |
121 | drm_ati_pcigart_info gart_info; | 121 | struct drm_ati_pcigart_info gart_info; |
122 | } drm_r128_private_t; | 122 | } drm_r128_private_t; |
123 | 123 | ||
124 | typedef struct drm_r128_buf_priv { | 124 | typedef struct drm_r128_buf_priv { |
@@ -142,21 +142,21 @@ extern int r128_engine_reset(DRM_IOCTL_ARGS); | |||
142 | extern int r128_fullscreen(DRM_IOCTL_ARGS); | 142 | extern int r128_fullscreen(DRM_IOCTL_ARGS); |
143 | extern int r128_cce_buffers(DRM_IOCTL_ARGS); | 143 | extern int r128_cce_buffers(DRM_IOCTL_ARGS); |
144 | 144 | ||
145 | extern void r128_freelist_reset(drm_device_t * dev); | 145 | extern void r128_freelist_reset(struct drm_device * dev); |
146 | 146 | ||
147 | extern int r128_wait_ring(drm_r128_private_t * dev_priv, int n); | 147 | extern int r128_wait_ring(drm_r128_private_t * dev_priv, int n); |
148 | 148 | ||
149 | extern int r128_do_cce_idle(drm_r128_private_t * dev_priv); | 149 | extern int r128_do_cce_idle(drm_r128_private_t * dev_priv); |
150 | extern int r128_do_cleanup_cce(drm_device_t * dev); | 150 | extern int r128_do_cleanup_cce(struct drm_device * dev); |
151 | 151 | ||
152 | extern int r128_driver_vblank_wait(drm_device_t * dev, unsigned int *sequence); | 152 | extern int r128_driver_vblank_wait(struct drm_device * dev, unsigned int *sequence); |
153 | 153 | ||
154 | extern irqreturn_t r128_driver_irq_handler(DRM_IRQ_ARGS); | 154 | extern irqreturn_t r128_driver_irq_handler(DRM_IRQ_ARGS); |
155 | extern void r128_driver_irq_preinstall(drm_device_t * dev); | 155 | extern void r128_driver_irq_preinstall(struct drm_device * dev); |
156 | extern void r128_driver_irq_postinstall(drm_device_t * dev); | 156 | extern void r128_driver_irq_postinstall(struct drm_device * dev); |
157 | extern void r128_driver_irq_uninstall(drm_device_t * dev); | 157 | extern void r128_driver_irq_uninstall(struct drm_device * dev); |
158 | extern void r128_driver_lastclose(drm_device_t * dev); | 158 | extern void r128_driver_lastclose(struct drm_device * dev); |
159 | extern void r128_driver_preclose(drm_device_t * dev, DRMFILE filp); | 159 | extern void r128_driver_preclose(struct drm_device * dev, DRMFILE filp); |
160 | 160 | ||
161 | extern long r128_compat_ioctl(struct file *filp, unsigned int cmd, | 161 | extern long r128_compat_ioctl(struct file *filp, unsigned int cmd, |
162 | unsigned long arg); | 162 | unsigned long arg); |