diff options
author | Baoyou Xie <[email protected]> | 2016-09-24 12:37:05 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2016-10-01 11:41:39 +0530 |
commit | 02aa84860c29f3f5a57e959982c811df46a2736c (patch) | |
tree | d81c14dd3b0fae3a85064b4afbe207a930ffa191 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 3770f2a6bfe00869a4b83ee3cced0361ab33289a (diff) |
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 <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions