diff options
Diffstat (limited to 'drivers/char/drm/savage_drv.h')
-rw-r--r-- | drivers/char/drm/savage_drv.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/char/drm/savage_drv.h b/drivers/char/drm/savage_drv.h index 5fd54de4280e..df2aac6636f7 100644 --- a/drivers/char/drm/savage_drv.h +++ b/drivers/char/drm/savage_drv.h | |||
@@ -104,7 +104,7 @@ enum savage_family { | |||
104 | S3_LAST | 104 | S3_LAST |
105 | }; | 105 | }; |
106 | 106 | ||
107 | extern drm_ioctl_desc_t savage_ioctls[]; | 107 | extern struct drm_ioctl_desc savage_ioctls[]; |
108 | extern int savage_max_ioctl; | 108 | extern int savage_max_ioctl; |
109 | 109 | ||
110 | #define S3_SAVAGE3D_SERIES(chip) ((chip>=S3_SAVAGE3D) && (chip<=S3_SAVAGE_MX)) | 110 | #define S3_SAVAGE3D_SERIES(chip) ((chip>=S3_SAVAGE3D) && (chip<=S3_SAVAGE_MX)) |
@@ -197,8 +197,8 @@ typedef struct drm_savage_private { | |||
197 | } drm_savage_private_t; | 197 | } drm_savage_private_t; |
198 | 198 | ||
199 | /* ioctls */ | 199 | /* ioctls */ |
200 | extern int savage_bci_cmdbuf(DRM_IOCTL_ARGS); | 200 | extern int savage_bci_cmdbuf(struct drm_device *dev, void *data, struct drm_file *file_priv); |
201 | extern int savage_bci_buffers(DRM_IOCTL_ARGS); | 201 | extern int savage_bci_buffers(struct drm_device *dev, void *data, struct drm_file *file_priv); |
202 | 202 | ||
203 | /* BCI functions */ | 203 | /* BCI functions */ |
204 | extern uint16_t savage_bci_emit_event(drm_savage_private_t * dev_priv, | 204 | extern uint16_t savage_bci_emit_event(drm_savage_private_t * dev_priv, |
@@ -212,7 +212,8 @@ extern int savage_driver_load(struct drm_device *dev, unsigned long chipset); | |||
212 | extern int savage_driver_firstopen(struct drm_device *dev); | 212 | extern int savage_driver_firstopen(struct drm_device *dev); |
213 | extern void savage_driver_lastclose(struct drm_device *dev); | 213 | extern void savage_driver_lastclose(struct drm_device *dev); |
214 | extern int savage_driver_unload(struct drm_device *dev); | 214 | extern int savage_driver_unload(struct drm_device *dev); |
215 | extern void savage_reclaim_buffers(struct drm_device * dev, DRMFILE filp); | 215 | extern void savage_reclaim_buffers(struct drm_device *dev, |
216 | struct drm_file *file_priv); | ||
216 | 217 | ||
217 | /* state functions */ | 218 | /* state functions */ |
218 | extern void savage_emit_clip_rect_s3d(drm_savage_private_t * dev_priv, | 219 | extern void savage_emit_clip_rect_s3d(drm_savage_private_t * dev_priv, |