diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-09-02 06:29:10 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-09-26 13:01:36 -0400 |
commit | e97adb49b415b3ff487e9fd0d759e843baf6f69e (patch) | |
tree | 653f63dc242d84aedb977cca4fc5fa57b27f7412 /drivers/dma/stm32-dma.c | |
parent | 4fbf3717a467c6d9bcd8fdce03fdd5074b14a03f (diff) |
dmaengine: stm32-dma: make stm32_dma_set_config static
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>
Diffstat (limited to 'drivers/dma/stm32-dma.c')
-rw-r--r-- | drivers/dma/stm32-dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/stm32-dma.c b/drivers/dma/stm32-dma.c index 047476a1383d..307547f4848d 100644 --- 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) | |||
954 | kfree(container_of(vdesc, struct stm32_dma_desc, vdesc)); | 954 | kfree(container_of(vdesc, struct stm32_dma_desc, vdesc)); |
955 | } | 955 | } |
956 | 956 | ||
957 | void stm32_dma_set_config(struct stm32_dma_chan *chan, | 957 | static void stm32_dma_set_config(struct stm32_dma_chan *chan, |
958 | struct stm32_dma_cfg *cfg) | 958 | struct stm32_dma_cfg *cfg) |
959 | { | 959 | { |
960 | stm32_dma_clear_reg(&chan->chan_reg); | 960 | stm32_dma_clear_reg(&chan->chan_reg); |