patch-2.1.101 linux/arch/arm/kernel/dma.c

Next file: linux/arch/arm/kernel/entry-armo.S
Previous file: linux/arch/arm/kernel/dma-dummy.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.100/linux/arch/arm/kernel/dma.c linux/arch/arm/kernel/dma.c
@@ -15,6 +15,7 @@
  * Moved DMA resource allocation here...
  */
 #include <linux/sched.h>
+#include <linux/module.h>
 #include <linux/malloc.h>
 #include <linux/mman.h>
 #include <linux/init.h>
@@ -28,6 +29,8 @@
 
 #include "dma.h"
 
+const char dma_str[] = "%s: dma %d not supported\n";
+
 static dma_t dma_chan[MAX_DMA_CHANNELS];
 
 /* Get dma list
@@ -182,6 +185,15 @@
 {
 	return arch_get_dma_residue(channel, &dma_chan[channel]);
 }
+
+EXPORT_SYMBOL(dma_str);
+EXPORT_SYMBOL(enable_dma);
+EXPORT_SYMBOL(disable_dma);
+EXPORT_SYMBOL(set_dma_addr);
+EXPORT_SYMBOL(set_dma_count);
+EXPORT_SYMBOL(set_dma_mode);
+EXPORT_SYMBOL(get_dma_residue);
+EXPORT_SYMBOL(set_dma_sg);
 
 __initfunc(void init_dma(void))
 {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov