aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/mxs-dma.c
diff options
context:
space:
mode:
authorAttila Kinali <attila@kinali.ch>2012-07-06 08:53:20 -0400
committerVinod Koul <vinod.koul@linux.intel.com>2012-07-16 02:29:22 -0400
commit41c556a8cb22dcb4751fed3fb3d2ccc37f945646 (patch)
tree09d038effd1d698af86f6d4c488ad103fa5a1219 /drivers/dma/mxs-dma.c
parentce3a1ab74264b860450709e4bd0dcfc2d0bfc7f8 (diff)
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>
Diffstat (limited to 'drivers/dma/mxs-dma.c')
-rw-r--r--drivers/dma/mxs-dma.c2
1 files changed, 2 insertions, 0 deletions
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)
200 200
201 return dma_is_apbh(mxs_dma); 201 return dma_is_apbh(mxs_dma);
202} 202}
203EXPORT_SYMBOL_GPL(mxs_dma_is_apbh);
203 204
204int mxs_dma_is_apbx(struct dma_chan *chan) 205int mxs_dma_is_apbx(struct dma_chan *chan)
205{ 206{
@@ -208,6 +209,7 @@ int mxs_dma_is_apbx(struct dma_chan *chan)
208 209
209 return !dma_is_apbh(mxs_dma); 210 return !dma_is_apbh(mxs_dma);
210} 211}
212EXPORT_SYMBOL_GPL(mxs_dma_is_apbx);
211 213
212static void mxs_dma_reset_chan(struct mxs_dma_chan *mxs_chan) 214static void mxs_dma_reset_chan(struct mxs_dma_chan *mxs_chan)
213{ 215{