summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-bcm2835.c
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2015-05-12 19:43:59 +0800
committerMark Brown <broonie@kernel.org>2015-05-12 15:37:22 +0100
commit29ad1a7a9e08f1d2b6795c5278a0c0fd23679ded (patch)
treeb6fba5200399d2c79a27ebbdfe69f28cbd2b4b58 /drivers/spi/spi-bcm2835.c
parent7e52be0d576e8f7bc99a606f07b9d000c4340f04 (diff)
spi: bcm2835: bcm2835_dma_release() can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-bcm2835.c')
-rw-r--r--drivers/spi/spi-bcm2835.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-bcm2835.c b/drivers/spi/spi-bcm2835.c
index ac1760e06a86..59705ab23577 100644
--- a/drivers/spi/spi-bcm2835.c
+++ b/drivers/spi/spi-bcm2835.c
@@ -401,7 +401,7 @@ static bool bcm2835_spi_can_dma(struct spi_master *master,
return true;
}
-void bcm2835_dma_release(struct spi_master *master)
+static void bcm2835_dma_release(struct spi_master *master)
{
if (master->dma_tx) {
dmaengine_terminate_all(master->dma_tx);
@@ -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;
const __be32 *addr;