projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fc8ae7
)
dmaengine: nbpf_error_get_channel() can be static
author
Fengguang Wu
<fengguang.wu@intel.com>
Tue, 5 Aug 2014 16:30:18 +0000
(22:00 +0530)
committer
Vinod Koul
<vinod.koul@intel.com>
Tue, 5 Aug 2014 16:30:18 +0000
(22:00 +0530)
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>
drivers/dma/nbpfaxi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/nbpfaxi.c
b/drivers/dma/nbpfaxi.c
index cea6a3768e2efe4f675d370fdd1a9e49f3fe9721..5aeada56a442673d9c07d03ff325cd23c0eeee10 100644
(file)
--- 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)
+st
atic st
ruct nbpf_channel *nbpf_error_get_channel(struct nbpf_device *nbpf, u32 error)
{
return nbpf->chan + __ffs(error);
}