diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2014-08-05 18:30:18 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-08-05 18:30:18 +0200 |
commit | 1141b7e95aa1d5c328c719bc405714d90c167a50 (patch) | |
tree | 524b8340603a7bd18c17f25925e9bbc83bc6a0e2 /drivers/dma/nbpfaxi.c | |
parent | dma: pl08x: Use correct specifier for size_t values (diff) | |
download | linux-1141b7e95aa1d5c328c719bc405714d90c167a50.tar.xz linux-1141b7e95aa1d5c328c719bc405714d90c167a50.zip |
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>
Diffstat (limited to 'drivers/dma/nbpfaxi.c')
-rw-r--r-- | drivers/dma/nbpfaxi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/nbpfaxi.c b/drivers/dma/nbpfaxi.c index cea6a3768e2e..5aeada56a442 100644 --- a/drivers/dma/nbpfaxi.c +++ b/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); } |