mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-01-06 02:40:20 +01:00
make some functions static from the kernel
This commit is contained in:
parent
d75fa645ed
commit
a25667894a
4 changed files with 2 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue