summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-03-11 01:29:44 +0000
committerLars-Peter Clausen <lars@metafoo.de>2010-03-11 01:29:44 +0000
commit7768a25923ac5f9d6ff3366083a11bba95d79d5e (patch)
tree2b542c1e04654ff7c173a9a9c9fd84087e6ff570 /target
parentbf31e79489516263529ac047188fc72e2e404e25 (diff)
downloadmtk-20170518-7768a25923ac5f9d6ff3366083a11bba95d79d5e.zip
mtk-20170518-7768a25923ac5f9d6ff3366083a11bba95d79d5e.tar.gz
mtk-20170518-7768a25923ac5f9d6ff3366083a11bba95d79d5e.tar.bz2
dma: export jz4740_dma_request
SVN-Revision: 20129
Diffstat (limited to 'target')
-rw-r--r--target/linux/xburst/files-2.6.32/arch/mips/jz4740/dma.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/xburst/files-2.6.32/arch/mips/jz4740/dma.c b/target/linux/xburst/files-2.6.32/arch/mips/jz4740/dma.c
index e43fb74..43086dd 100644
--- a/target/linux/xburst/files-2.6.32/arch/mips/jz4740/dma.c
+++ b/target/linux/xburst/files-2.6.32/arch/mips/jz4740/dma.c
@@ -100,7 +100,7 @@ struct jz4740_dma_chan {
uint32_t transfer_shift;
jz4740_dma_complete_callback_t complete_cb;
-
+
unsigned used:1;
};
@@ -140,8 +140,9 @@ struct jz4740_dma_chan* jz4740_dma_request(void *dev, const char *name)
return dma;
}
+EXPORT_SYMBOL_GPL(jz4740_dma_request);
-void jz4740_dma_configure(struct jz4740_dma_chan *dma,
+void jz4740_dma_configure(struct jz4740_dma_chan *dma,
const struct jz4740_dma_config *config)
{
uint32_t cmd;