Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sh: Convert to asm-generic/dma.h.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

+1 -9
+1 -9
arch/sh/include/asm/dma.h
··· 16 16 #include <linux/sched.h> 17 17 #include <linux/sysdev.h> 18 18 #include <cpu/dma.h> 19 - 20 - /* The maximum address that we can perform a DMA transfer to on this platform */ 21 - /* Don't define MAX_DMA_ADDRESS; it's useless on the SuperH and any 22 - occurrence should be flagged as an error. */ 23 - /* But... */ 24 - /* XXX: This is not applicable to SuperH, just needed for alloc_bootmem */ 25 - #define MAX_DMA_ADDRESS (PAGE_OFFSET+0x10000000) 19 + #include <asm-generic/dma.h> 26 20 27 21 #ifdef CONFIG_NR_DMA_CHANNELS 28 22 # define MAX_DMA_CHANNELS (CONFIG_NR_DMA_CHANNELS) ··· 131 137 132 138 extern int request_dma_bycap(const char **dmac, const char **caps, 133 139 const char *dev_id); 134 - extern int request_dma(unsigned int chan, const char *dev_id); 135 - extern void free_dma(unsigned int chan); 136 140 extern int get_dma_residue(unsigned int chan); 137 141 extern struct dma_info *get_dma_info(unsigned int chan); 138 142 extern struct dma_channel *get_dma_channel(unsigned int chan);