OSDN Git Service

dma: imx-sdma: Staticize sdma_driver_data structures
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 2 Sep 2013 00:57:12 +0000 (21:57 -0300)
committerVinod Koul <vinod.koul@intel.com>
Mon, 2 Sep 2013 06:30:02 +0000 (12:00 +0530)
commite9fd58de64248cfd49b8b0662ece635dba5ae909
tree02d427276b019143f5a7e47c0d8daae0a5badb03
parent58ddff20a6a5888eecb541f40882c655913609c4
dma: imx-sdma: Staticize sdma_driver_data structures

Sparse report the following warnings:

drivers/dma/imx-sdma.c:330:25: warning: symbol 'sdma_imx31' was not declared. Should it be static?
drivers/dma/imx-sdma.c:351:25: warning: symbol 'sdma_imx25' was not declared. Should it be static?
drivers/dma/imx-sdma.c:357:25: warning: symbol 'sdma_imx35' was not declared. Should it be static?
drivers/dma/imx-sdma.c:375:25: warning: symbol 'sdma_imx51' was not declared. Should it be static?
drivers/dma/imx-sdma.c:395:25: warning: symbol 'sdma_imx53' was not declared. Should it be static?
drivers/dma/imx-sdma.c:414:25: warning: symbol 'sdma_imx6q' was not declared. Should it be static?

Make the sdma_driver_data structures static.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/imx-sdma.c