diff options
author | Baoyou Xie <baoyou.xie@linaro.org> | 2016-09-24 04:37:05 (GMT) |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-10-01 06:11:39 (GMT) |
commit | 02aa84860c29f3f5a57e959982c811df46a2736c (patch) | |
tree | d81c14dd3b0fae3a85064b4afbe207a930ffa191 /kernel | |
parent | 3770f2a6bfe00869a4b83ee3cced0361ab33289a (diff) | |
download | linux-02aa84860c29f3f5a57e959982c811df46a2736c.tar.xz |
dmaengine: virt-dma: move function declarations
We get 2 warnings when building kernel with W=1:
drivers/dma/virt-dma.c:22:14: warning: no previous prototype for 'vchan_tx_submit' [-Wmissing-prototypes]
drivers/dma/virt-dma.c:52:5: warning: no previous prototype for 'vchan_tx_desc_free' [-Wmissing-prototypes]
In fact, these two functions are incorrectly declared in a function.
So this patch moves function declarations out of this function.
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions