diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-11-09 10:38:34 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-11-12 08:31:47 +0100 |
commit | b3e8e7c9b8c9caeda49424d58e07453cba6c81c3 (patch) | |
tree | 97e1de480d018f974f029e192a894c6f870a2b23 /drivers/dma | |
parent | d2058ab2a1f35c231beabec7511288c51ff72ced (diff) | |
download | barebox-b3e8e7c9b8c9caeda49424d58e07453cba6c81c3.tar.gz barebox-b3e8e7c9b8c9caeda49424d58e07453cba6c81c3.tar.xz |
dma: apbh: make locally used function static
To avoid missing prototype warning.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/apbh_dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/apbh_dma.c b/drivers/dma/apbh_dma.c index 79f25109f9..72c2f364c5 100644 --- a/drivers/dma/apbh_dma.c +++ b/drivers/dma/apbh_dma.c @@ -67,7 +67,7 @@ static struct apbh_dma *apbh_dma; /* * Test is the DMA channel is valid channel */ -int mxs_dma_validate_chan(int channel) +static int mxs_dma_validate_chan(int channel) { struct mxs_dma_chan *pchan; |