make some functions static in via driver

main
Dave Airlie 2006-03-19 07:52:53 +00:00
parent 38376c7fa6
commit 8c8f937b3d
2 changed files with 5 additions and 10 deletions

View File

@ -224,7 +224,7 @@ static int via_initialize(drm_device_t * dev,
return 0;
}
int via_dma_init(DRM_IOCTL_ARGS)
static int via_dma_init(DRM_IOCTL_ARGS)
{
DRM_DEVICE;
drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private;
@ -326,7 +326,7 @@ int via_driver_dma_quiescent(drm_device_t * dev)
return 0;
}
int via_flush_ioctl(DRM_IOCTL_ARGS)
static int via_flush_ioctl(DRM_IOCTL_ARGS)
{
DRM_DEVICE;
@ -335,7 +335,7 @@ int via_flush_ioctl(DRM_IOCTL_ARGS)
return via_driver_dma_quiescent(dev);
}
int via_cmdbuffer(DRM_IOCTL_ARGS)
static int via_cmdbuffer(DRM_IOCTL_ARGS)
{
DRM_DEVICE;
drm_via_cmdbuffer_t cmdbuf;
@ -380,7 +380,7 @@ static int via_dispatch_pci_cmdbuffer(drm_device_t * dev,
return ret;
}
int via_pci_cmdbuffer(DRM_IOCTL_ARGS)
static int via_pci_cmdbuffer(DRM_IOCTL_ARGS)
{
DRM_DEVICE;
drm_via_cmdbuffer_t cmdbuf;
@ -684,7 +684,7 @@ static void via_cmdbuf_reset(drm_via_private_t * dev_priv)
* User interface to the space and lag functions.
*/
int via_cmdbuf_size(DRM_IOCTL_ARGS)
static int via_cmdbuf_size(DRM_IOCTL_ARGS)
{
DRM_DEVICE;
drm_via_cmdbuf_size_t d_siz;

View File

@ -115,11 +115,6 @@ extern int via_mem_free(DRM_IOCTL_ARGS);
extern int via_agp_init(DRM_IOCTL_ARGS);
extern int via_map_init(DRM_IOCTL_ARGS);
extern int via_decoder_futex(DRM_IOCTL_ARGS);
extern int via_dma_init(DRM_IOCTL_ARGS);
extern int via_cmdbuffer(DRM_IOCTL_ARGS);
extern int via_flush_ioctl(DRM_IOCTL_ARGS);
extern int via_pci_cmdbuffer(DRM_IOCTL_ARGS);
extern int via_cmdbuf_size(DRM_IOCTL_ARGS);
extern int via_wait_irq(DRM_IOCTL_ARGS);
extern int via_dma_blit_sync( DRM_IOCTL_ARGS );
extern int via_dma_blit( DRM_IOCTL_ARGS );