Browse Source

dmaengine: nbpf_error_get_channel() can be static

CC: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
CC: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Fengguang Wu 11 years ago
parent
commit
1141b7e95a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/dma/nbpfaxi.c

+ 1 - 1
drivers/dma/nbpfaxi.c

@@ -351,7 +351,7 @@ static u32 nbpf_error_get(struct nbpf_device *nbpf)
 	return nbpf_read(nbpf, NBPF_DSTAT_ER);
 }
 
-struct nbpf_channel *nbpf_error_get_channel(struct nbpf_device *nbpf, u32 error)
+static struct nbpf_channel *nbpf_error_get_channel(struct nbpf_device *nbpf, u32 error)
 {
 	return nbpf->chan + __ffs(error);
 }