2015-12-17 09:29:22 +00:00
|
|
|
From b024bf0bd3eecf2a55160dfc98c2e415b5e8ff1d Mon Sep 17 00:00:00 2001
|
2015-09-11 16:32:00 +00:00
|
|
|
From: kbuild test robot <fengguang.wu@intel.com>
|
|
|
|
Date: Tue, 12 May 2015 19:43:59 +0800
|
2015-12-17 09:29:22 +00:00
|
|
|
Subject: [PATCH 158/222] spi: bcm2835: bcm2835_dma_release() can be static
|
2015-09-11 16:32:00 +00:00
|
|
|
|
|
|
|
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
|
|
|
|
Signed-off-by: Mark Brown <broonie@kernel.org>
|
|
|
|
(cherry picked from commit 29ad1a7a9e08f1d2b6795c5278a0c0fd23679ded)
|
|
|
|
---
|
|
|
|
drivers/spi/spi-bcm2835.c | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
--- a/drivers/spi/spi-bcm2835.c
|
|
|
|
+++ b/drivers/spi/spi-bcm2835.c
|
|
|
|
@@ -401,7 +401,7 @@ static bool bcm2835_spi_can_dma(struct s
|
|
|
|
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_mast
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
-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;
|