FreeBSD warnings cleanup.
parent
05204b9c8d
commit
f4e1c1d05c
|
@ -998,6 +998,8 @@ int drm_dma(DRM_IOCTL_ARGS);
|
|||
/* IRQ support (drm_irq.c) */
|
||||
int drm_control(DRM_IOCTL_ARGS);
|
||||
int drm_wait_vblank(DRM_IOCTL_ARGS);
|
||||
void drm_locked_tasklet(drm_device_t *dev,
|
||||
void (*tasklet)(drm_device_t *dev));
|
||||
|
||||
/* AGP/GART support (drm_agpsupport.c) */
|
||||
int drm_agp_acquire_ioctl(DRM_IOCTL_ARGS);
|
||||
|
|
|
@ -103,6 +103,7 @@ int drm_rmdraw(DRM_IOCTL_ARGS)
|
|||
free_unr(dev->drw_unrhdr, draw->handle);
|
||||
drm_free(info, sizeof(struct bsd_drm_drawable_info),
|
||||
DRM_MEM_DRAWABLE);
|
||||
return 0;
|
||||
} else {
|
||||
DRM_SPINUNLOCK(&dev->drw_lock);
|
||||
return EINVAL;
|
||||
|
|
|
@ -144,8 +144,9 @@ static int radeon_wait_irq(struct drm_device * dev, int swi_nr)
|
|||
return ret;
|
||||
}
|
||||
|
||||
int radeon_driver_vblank_do_wait(struct drm_device * dev, unsigned int *sequence,
|
||||
int crtc)
|
||||
static int radeon_driver_vblank_do_wait(struct drm_device * dev,
|
||||
unsigned int *sequence,
|
||||
int crtc)
|
||||
{
|
||||
drm_radeon_private_t *dev_priv =
|
||||
(drm_radeon_private_t *) dev->dev_private;
|
||||
|
|
Loading…
Reference in New Issue