diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2016-06-21 18:12:39 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-06-28 20:09:54 +0530 |
commit | d646162b8b74b10aeb2451762065904201859bd2 (patch) | |
tree | 3d5407412ae422aa628e5d9e8ae123cd56c367aa /drivers | |
parent | 1a695a905c18548062509178b98bc91e67510864 (diff) | |
download | linux-d646162b8b74b10aeb2451762065904201859bd2.tar.gz linux-d646162b8b74b10aeb2451762065904201859bd2.tar.bz2 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')
-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); } |