From: Adrian Bunk This patch makes three needlessly global functions static. Signed-off-by: Adrian Bunk Cc: Shannon Nelson Signed-off-by: Andrew Morton --- drivers/dma/ioat_dma.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff -puN drivers/dma/ioat_dma.c~i-oat-add-support-for-msi-and-msi-x-fix drivers/dma/ioat_dma.c --- a/drivers/dma/ioat_dma.c~i-oat-add-support-for-msi-and-msi-x-fix +++ a/drivers/dma/ioat_dma.c @@ -47,8 +47,8 @@ static void ioat_dma_start_null_desc(struct ioat_dma_chan *ioat_chan); static void ioat_dma_memcpy_cleanup(struct ioat_dma_chan *ioat_chan); -struct ioat_dma_chan *ioat_lookup_chan_by_index(struct ioatdma_device *device, - int index) +static struct ioat_dma_chan *ioat_lookup_chan_by_index(struct ioatdma_device *device, + int index) { return device->idx[index]; } @@ -716,7 +716,7 @@ MODULE_PARM_DESC(ioat_interrupt_style, * ioat_dma_setup_interrupts - setup interrupt handler * @device: ioat device */ -int ioat_dma_setup_interrupts(struct ioatdma_device *device) +static int ioat_dma_setup_interrupts(struct ioatdma_device *device) { struct ioat_dma_chan *ioat_chan; int err, i, j, msixcnt; @@ -826,7 +826,7 @@ err_no_irq: * ioat_dma_remove_interrupts - remove whatever interrupts were set * @device: ioat device */ -void ioat_dma_remove_interrupts(struct ioatdma_device *device) +static void ioat_dma_remove_interrupts(struct ioatdma_device *device) { struct ioat_dma_chan *ioat_chan; int i; _