dmaengine: fsl-edma: clean up EXPORT_SYMBOL_GPL in fsl-edma-common.c
authorFrank Li <Frank.Li@nxp.com>
Mon, 21 Aug 2023 16:16:07 +0000 (12:16 -0400)
committerVinod Koul <vkoul@kernel.org>
Tue, 22 Aug 2023 14:41:02 +0000 (20:11 +0530)
commit66aac8ea0a6c79729f99087b1c5a596938e5d838
tree293fc69d5752067e717dcbba420ba3679bc20c5b
parent8b9aee8073a5f3e0c2e418d45a7969270ea576c6
dmaengine: fsl-edma: clean up EXPORT_SYMBOL_GPL in fsl-edma-common.c

Exported functions in fsl-edma-common.c are only used within
fsl-edma.c and mcf-edma.c. Global export is unnecessary.

This commit removes all EXPORT_SYMBOL_GPL in fsl-edma-common.c,
and renames fsl-edma.c and mcf-edma.c to maintain the same
final module names as before, thereby simplifying the codebase.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20230821161617.2142561-3-Frank.Li@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/Makefile
drivers/dma/fsl-edma-common.c
drivers/dma/fsl-edma-main.c [moved from drivers/dma/fsl-edma.c with 100% similarity]
drivers/dma/mcf-edma-main.c [moved from drivers/dma/mcf-edma.c with 100% similarity]