arm: dma: more fix for v2.6.36
author黄涛 <huangtao@rock-chips.com>
Mon, 1 Aug 2011 03:16:18 +0000 (11:16 +0800)
committer黄涛 <huangtao@rock-chips.com>
Mon, 1 Aug 2011 03:16:18 +0000 (11:16 +0800)
arch/arm/kernel/dma.c

index caf60d84e08c3453029f2b001ce9e561d23c5f5c..25e768a2c6f627065794ae4f422a77e4b7e8dd8e 100644 (file)
@@ -288,6 +288,7 @@ void get_dma_position(unsigned int chan, dma_addr_t *src_pos, dma_addr_t *dst_po
 }
 
 EXPORT_SYMBOL(dma_channel_active);
+
 #if 0
 void set_dma_page(unsigned int chan, char pagenr)
 {
@@ -317,6 +318,7 @@ int get_dma_residue(unsigned int chan)
        return ret;
 }
 EXPORT_SYMBOL(get_dma_residue);
+#endif
 
 #ifdef CONFIG_PROC_FS
 static int proc_dma_show(struct seq_file *m, void *v)