Skip to content

Commit

Permalink
dmaengine: nbpf_error_get_channel() can be static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fengguang Wu authored and Vinod Koul committed Aug 5, 2014
1 parent 6fc8ae7 commit 1141b7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/dma/nbpfaxi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 1141b7e

Please sign in to comment.