From: Attila Kinali Date: Fri, 6 Jul 2012 12:53:20 +0000 (+0200) Subject: dma: mxs-dma: Export missing symbols from mxs-dma.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=41c556a8cb22dcb4751fed3fb3d2ccc37f945646;p=linux-beck.git dma: mxs-dma: Export missing symbols from mxs-dma.c mxs-dma.c provides two functions mxs_dma_is_apbh and mxs_dma_is_apbx which are used at least in mxs-mmc.c. Building mxs-mmc as module fails due to those two symbols not being exported. Signed-off-by: Attila Kinali Acked-by: Shawn Guo Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/mxs-dma.c b/drivers/dma/mxs-dma.c index 90b980d014aa..7f41b25805fa 100644 --- a/drivers/dma/mxs-dma.c +++ b/drivers/dma/mxs-dma.c @@ -200,6 +200,7 @@ int mxs_dma_is_apbh(struct dma_chan *chan) return dma_is_apbh(mxs_dma); } +EXPORT_SYMBOL_GPL(mxs_dma_is_apbh); int mxs_dma_is_apbx(struct dma_chan *chan) { @@ -208,6 +209,7 @@ int mxs_dma_is_apbx(struct dma_chan *chan) return !dma_is_apbh(mxs_dma); } +EXPORT_SYMBOL_GPL(mxs_dma_is_apbx); static void mxs_dma_reset_chan(struct mxs_dma_chan *mxs_chan) {