diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-03-11 01:29:44 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2010-03-11 01:29:44 +0000 |
commit | c6bb259c47238e638dd05c6e37ae58ed89fb9eae (patch) | |
tree | 692daabfcbfbc78ec224274a74347295aa1703fc | |
parent | 26ce4b5601221940d775658834fca1371f09e1d7 (diff) | |
download | upstream-c6bb259c47238e638dd05c6e37ae58ed89fb9eae.tar.gz upstream-c6bb259c47238e638dd05c6e37ae58ed89fb9eae.tar.bz2 upstream-c6bb259c47238e638dd05c6e37ae58ed89fb9eae.zip |
[xburst] dma: export jz4740_dma_request
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20129 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/xburst/files-2.6.32/arch/mips/jz4740/dma.c | 5 |
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 e43fb743fd..43086dd341 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; |