X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/809c03fe4c0f90c640b26e6a2792553b592c68f2..3d00b9bbe1ed2b958c6940b3b16f0f6907f1471c:/target/linux/xburst/files-2.6.32/arch/mips/jz4740/dma.c?ds=inline 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 e43fb743f..43086dd34 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;