spi: bcm2835: bcm2835_dma_release() can be static
authorkbuild test robot <fengguang.wu@intel.com>
Tue, 12 May 2015 11:43:59 +0000 (19:43 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 12 May 2015 14:37:22 +0000 (15:37 +0100)
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcm2835.c

index ac1760e06a86f5ede80a8880596b264351b95de4..59705ab23577494b68a136ca0f3c377b3371ca2b 100644 (file)
@@ -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;