mirror of https://gitee.com/openkylin/linux.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 <attila@kinali.ch> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
This commit is contained in:
parent
ce3a1ab742
commit
41c556a8cb
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue