projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fbf371
)
dmaengine: stm32-dma: make stm32_dma_set_config static
author
Vinod Koul
<vinod.koul@intel.com>
Fri, 2 Sep 2016 10:29:10 +0000
(15:59 +0530)
committer
Vinod Koul
<vinod.koul@intel.com>
Mon, 26 Sep 2016 17:01:36 +0000
(22:31 +0530)
Sparse complains:
drivers/dma/stm32-dma.c:957:6: warning: symbol 'stm32_dma_set_config' was
not declared. Should it be static?
SO make stm32_dma_set_config static.
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/stm32-dma.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/stm32-dma.c
b/drivers/dma/stm32-dma.c
index 047476a1383dd984edd2afeb2bf2e1bfd5867074..307547f4848db818c254cbf67c63fe527fc6a189 100644
(file)
--- a/
drivers/dma/stm32-dma.c
+++ b/
drivers/dma/stm32-dma.c
@@
-954,7
+954,7
@@
static void stm32_dma_desc_free(struct virt_dma_desc *vdesc)
kfree(container_of(vdesc, struct stm32_dma_desc, vdesc));
}
-void stm32_dma_set_config(struct stm32_dma_chan *chan,
+
static
void stm32_dma_set_config(struct stm32_dma_chan *chan,
struct stm32_dma_cfg *cfg)
{
stm32_dma_clear_reg(&chan->chan_reg);