make some functions static from the kernel

This commit is contained in:
Dave Airlie 2006-02-18 05:43:19 +00:00
parent d75fa645ed
commit a25667894a
4 changed files with 2 additions and 7 deletions

View file

@ -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;

View file

@ -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);

View file

@ -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;

View file

@ -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);