diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2016-06-21 17:12:39 (GMT) |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-06-28 14:39:54 (GMT) |
commit | d646162b8b74b10aeb2451762065904201859bd2 (patch) | |
tree | 3d5407412ae422aa628e5d9e8ae123cd56c367aa /drivers/dma | |
parent | 1a695a905c18548062509178b98bc91e67510864 (diff) | |
download | linux-d646162b8b74b10aeb2451762065904201859bd2.tar.xz |
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')
-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 e107779..5ae294b 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); } |