Skip to content

Commit

Permalink
dma: mxs-dma: Export missing symbols from mxs-dma.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Attila Kinali authored and Vinod Koul committed Jul 16, 2012
1 parent ce3a1ab commit 41c556a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/dma/mxs-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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)
{
Expand Down

0 comments on commit 41c556a

Please sign in to comment.