diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-04-29 15:21:50 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-05-04 08:28:03 +0300 |
commit | 833d88f3fd50a54544a7e71edef0877bb7b769c1 (patch) | |
tree | 83a3b86afdac92ca39d8935767c8075449eb2889 /drivers/dma/sa11x0-dma.c | |
parent | 5332f8b1d9dd17c258c9461f46aa148a8c850149 (diff) | |
download | linux-833d88f3fd50a54544a7e71edef0877bb7b769c1.tar.xz |
dmaengine: Include dmaengine.h into dmaengine.c
Compiler is not happy about non-static functions due to missed inclusion
.../dmaengine.c:682:18: warning: no previous prototype for ‘dma_get_slave_channel’ [-Wmissing-prototypes]
682 | struct dma_chan *dma_get_slave_channel(struct dma_chan *chan)
| ^~~~~~~~~~~~~~~~~~~~~
.../dmaengine.c:713:18: warning: no previous prototype for ‘dma_get_any_slave_channel’ [-Wmissing-prototypes]
713 | struct dma_chan *dma_get_any_slave_channel(struct dma_device *device)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Include missed header to satisfy compiler.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200429122151.50989-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/sa11x0-dma.c')
0 files changed, 0 insertions, 0 deletions