diff options
author | Ben Dooks | 2016-06-21 18:12:39 +0100 |
---|---|---|
committer | Vinod Koul | 2016-06-28 20:09:54 +0530 |
commit | d646162b8b74b10aeb2451762065904201859bd2 (patch) | |
tree | 3d5407412ae422aa628e5d9e8ae123cd56c367aa /drivers/dma/ti-dma-crossbar.c | |
parent | 1a695a905c18548062509178b98bc91e67510864 (diff) |
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.c | 2 |
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); } |