summaryrefslogtreecommitdiffstats
path: root/drivers/dma/ti-dma-crossbar.c
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2016-06-21 19:12:39 +0200
committerVinod Koul <vinod.koul@intel.com>2016-06-28 16:39:54 +0200
commitd646162b8b74b10aeb2451762065904201859bd2 (patch)
tree3d5407412ae422aa628e5d9e8ae123cd56c367aa /drivers/dma/ti-dma-crossbar.c
parentLinux 4.7-rc1 (diff)
downloadlinux-d646162b8b74b10aeb2451762065904201859bd2.tar.xz
linux-d646162b8b74b10aeb2451762065904201859bd2.zip
dmaengine: ti-dma-crossbar: make omap_dmaxbar_init static
The omap_dmaxbar_init() function is not exported or declared outside the driver, so make it static to fix the following sparse warning: drivers/dma/ti-dma-crossbar.c:455:5: warning: symbol 'omap_dmaxbar_init' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/ti-dma-crossbar.c')
-rw-r--r--drivers/dma/ti-dma-crossbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ti-dma-crossbar.c b/drivers/dma/ti-dma-crossbar.c
index e107779b1a2e..5ae294b256a7 100644
--- a/drivers/dma/ti-dma-crossbar.c
+++ b/drivers/dma/ti-dma-crossbar.c
@@ -452,7 +452,7 @@ static struct platform_driver ti_dma_xbar_driver = {
.probe = ti_dma_xbar_probe,
};
-int omap_dmaxbar_init(void)
+static int omap_dmaxbar_init(void)
{
return platform_driver_register(&ti_dma_xbar_driver);
}