diff options
author | Dave Airlie <airlied@linux.ie> | 2006-03-19 07:52:53 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-03-19 07:52:53 +0000 |
commit | 8c8f937b3de12185e3c0041726a9f6fd5f3d21ff (patch) | |
tree | e772d1af3303a49a3efe97c25ead1852682577b7 /shared-core | |
parent | 38376c7fa66234107ab6d69b828eb4ca8a3ad0ea (diff) |
make some functions static in via driver
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/via_dma.c | 10 | ||||
-rw-r--r-- | shared-core/via_drv.h | 5 |
2 files changed, 5 insertions, 10 deletions
diff --git a/shared-core/via_dma.c b/shared-core/via_dma.c index e959e9a6..11fa7388 100644 --- a/shared-core/via_dma.c +++ b/shared-core/via_dma.c @@ -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; diff --git a/shared-core/via_drv.h b/shared-core/via_drv.h index 4508b04c..0e29815b 100644 --- a/shared-core/via_drv.h +++ b/shared-core/via_drv.h @@ -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 ); |