Commit 29ad1a7a authored by kbuild test robot's avatar kbuild test robot Committed by Mark Brown

spi: bcm2835: bcm2835_dma_release() can be static

Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 7e52be0d
...@@ -401,7 +401,7 @@ static bool bcm2835_spi_can_dma(struct spi_master *master, ...@@ -401,7 +401,7 @@ static bool bcm2835_spi_can_dma(struct spi_master *master,
return true; return true;
} }
void bcm2835_dma_release(struct spi_master *master) static void bcm2835_dma_release(struct spi_master *master)
{ {
if (master->dma_tx) { if (master->dma_tx) {
dmaengine_terminate_all(master->dma_tx); dmaengine_terminate_all(master->dma_tx);
...@@ -415,7 +415,7 @@ void bcm2835_dma_release(struct spi_master *master) ...@@ -415,7 +415,7 @@ void bcm2835_dma_release(struct spi_master *master)
} }
} }
void bcm2835_dma_init(struct spi_master *master, struct device *dev) static void bcm2835_dma_init(struct spi_master *master, struct device *dev)
{ {
struct dma_slave_config slave_config; struct dma_slave_config slave_config;
const __be32 *addr; const __be32 *addr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment