From: Fengguang Wu Date: Tue, 5 Aug 2014 16:30:18 +0000 (+0530) Subject: dmaengine: nbpf_error_get_channel() can be static X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1141b7e95aa1d5c328c719bc405714d90c167a50;p=linux-beck.git dmaengine: nbpf_error_get_channel() can be static CC: Guennadi Liakhovetski CC: Vinod Koul Signed-off-by: Fengguang Wu Signed-off-by: Vinod Koul --- 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); }