Skip to content

Commit

Permalink
spi: bcm2835: bcm2835_dma_release() can be static
Browse files Browse the repository at this point in the history
Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
kbuild test robot authored and broonie committed May 12, 2015
1 parent 7e52be0 commit 29ad1a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/spi/spi-bcm2835.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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;
Expand Down

0 comments on commit 29ad1a7

Please sign in to comment.