Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d646162b authored by Ben Dooks's avatar Ben Dooks Committed by Vinod Koul
Browse files

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: default avatarBen Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 1a695a90
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}