diff options
author | Dave Airlie <airlied@linux.ie> | 2006-02-18 05:43:19 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-02-18 05:43:19 +0000 |
commit | a25667894a8b8cab1dc8a48994cd9a61ecaba152 (patch) | |
tree | 899443e1e31364bb28e2bf29a9dfc4473b7b54d3 | |
parent | d75fa645ed03ee0e2ffddc629b050626ddde5776 (diff) |
make some functions static from the kernel
-rw-r--r-- | linux-core/i810_dma.c | 2 | ||||
-rw-r--r-- | linux-core/i810_drv.h | 2 | ||||
-rw-r--r-- | linux-core/i830_dma.c | 2 | ||||
-rw-r--r-- | linux-core/i830_drv.h | 3 |
4 files changed, 2 insertions, 7 deletions
diff --git a/linux-core/i810_dma.c b/linux-core/i810_dma.c index 193a6fd1..800c5f61 100644 --- a/linux-core/i810_dma.c +++ b/linux-core/i810_dma.c @@ -983,7 +983,7 @@ static int i810_flush_queue(drm_device_t * dev) } /* Must be called with the lock held */ -void i810_reclaim_buffers(drm_device_t *dev, struct file *filp) +static void i810_reclaim_buffers(drm_device_t *dev, struct file *filp) { drm_device_dma_t *dma = dev->dma; int i; diff --git a/linux-core/i810_drv.h b/linux-core/i810_drv.h index b3d50e58..e8cf3ff6 100644 --- a/linux-core/i810_drv.h +++ b/linux-core/i810_drv.h @@ -113,8 +113,6 @@ typedef struct drm_i810_private { } drm_i810_private_t; /* i810_dma.c */ -extern void i810_reclaim_buffers(drm_device_t *dev, struct file *filp); - extern int i810_driver_dma_quiescent(drm_device_t * dev); extern void i810_driver_reclaim_buffers_locked(drm_device_t * dev, struct file *filp); diff --git a/linux-core/i830_dma.c b/linux-core/i830_dma.c index 9d80d917..a122898b 100644 --- a/linux-core/i830_dma.c +++ b/linux-core/i830_dma.c @@ -1248,7 +1248,7 @@ static int i830_flush_queue(drm_device_t * dev) } /* Must be called with the lock held */ -void i830_reclaim_buffers(drm_device_t *dev, struct file *filp) +static void i830_reclaim_buffers(drm_device_t *dev, struct file *filp) { drm_device_dma_t *dma = dev->dma; int i; diff --git a/linux-core/i830_drv.h b/linux-core/i830_drv.h index b592eaab..85bc5be6 100644 --- a/linux-core/i830_drv.h +++ b/linux-core/i830_drv.h @@ -123,9 +123,6 @@ typedef struct drm_i830_private { extern drm_ioctl_desc_t i830_ioctls[]; extern int i830_max_ioctl; -/* i830_dma.c */ -extern void i830_reclaim_buffers(drm_device_t *dev, struct file *filp); - /* i830_irq.c */ extern int i830_irq_emit(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg); |