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

Commit 41c556a8 authored by Attila Kinali's avatar Attila Kinali Committed by Vinod Koul
Browse files

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: default avatarAttila Kinali <attila@kinali.ch>
Acked-by: default avatarShawn Guo <shawn.guo@linaro.org>
Signed-off-by: default avatarVinod Koul <vinod.koul@linux.intel.com>
parent ce3a1ab7
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -200,6 +200,7 @@ int mxs_dma_is_apbh(struct dma_chan *chan)


	return dma_is_apbh(mxs_dma);
	return dma_is_apbh(mxs_dma);
}
}
EXPORT_SYMBOL_GPL(mxs_dma_is_apbh);


int mxs_dma_is_apbx(struct dma_chan *chan)
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);
	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)
static void mxs_dma_reset_chan(struct mxs_dma_chan *mxs_chan)
{
{