summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-core/i810_dma.c2
-rw-r--r--linux-core/i810_drv.h2
-rw-r--r--linux-core/i830_dma.c2
-rw-r--r--linux-core/i830_drv.h3
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);