diff options
-rw-r--r-- | arch/arm/kernel/dma.c | 17 | ||||
-rw-r--r-- | arch/sparc/include/asm/dma_32.h | 1 | ||||
-rw-r--r-- | fs/proc/proc_misc.c | 1 |
3 files changed, 0 insertions, 19 deletions
diff --git a/arch/arm/kernel/dma.c b/arch/arm/kernel/dma.c index ba99a2035523..d006085ed7e7 100644 --- a/arch/arm/kernel/dma.c +++ b/arch/arm/kernel/dma.c | |||
@@ -26,23 +26,6 @@ EXPORT_SYMBOL(dma_spin_lock); | |||
26 | static dma_t dma_chan[MAX_DMA_CHANNELS]; | 26 | static dma_t dma_chan[MAX_DMA_CHANNELS]; |
27 | 27 | ||
28 | /* | 28 | /* |
29 | * Get dma list for /proc/dma | ||
30 | */ | ||
31 | int get_dma_list(char *buf) | ||
32 | { | ||
33 | dma_t *dma; | ||
34 | char *p = buf; | ||
35 | int i; | ||
36 | |||
37 | for (i = 0, dma = dma_chan; i < MAX_DMA_CHANNELS; i++, dma++) | ||
38 | if (dma->lock) | ||
39 | p += sprintf(p, "%2d: %14s %s\n", i, | ||
40 | dma->d_ops->type, dma->device_id); | ||
41 | |||
42 | return p - buf; | ||
43 | } | ||
44 | |||
45 | /* | ||
46 | * Request DMA channel | 29 | * Request DMA channel |
47 | * | 30 | * |
48 | * On certain platforms, we have to allocate an interrupt as well... | 31 | * On certain platforms, we have to allocate an interrupt as well... |
diff --git a/arch/sparc/include/asm/dma_32.h b/arch/sparc/include/asm/dma_32.h index cf7189c0079b..7fa752959b93 100644 --- a/arch/sparc/include/asm/dma_32.h +++ b/arch/sparc/include/asm/dma_32.h | |||
@@ -231,7 +231,6 @@ static inline void sparc_dma_pause(struct sparc_dma_registers *regs, | |||
231 | #define for_each_dvma(dma) \ | 231 | #define for_each_dvma(dma) \ |
232 | for((dma) = dma_chain; (dma); (dma) = (dma)->next) | 232 | for((dma) = dma_chain; (dma); (dma) = (dma)->next) |
233 | 233 | ||
234 | extern int get_dma_list(char *); | ||
235 | extern int request_dma(unsigned int, __const__ char *); | 234 | extern int request_dma(unsigned int, __const__ char *); |
236 | extern void free_dma(unsigned int); | 235 | extern void free_dma(unsigned int); |
237 | 236 | ||
diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c index 29e20c6b1f7f..66c1ab87656c 100644 --- a/fs/proc/proc_misc.c +++ b/fs/proc/proc_misc.c | |||
@@ -68,7 +68,6 @@ | |||
68 | extern int get_hardware_list(char *); | 68 | extern int get_hardware_list(char *); |
69 | extern int get_stram_list(char *); | 69 | extern int get_stram_list(char *); |
70 | extern int get_exec_domain_list(char *); | 70 | extern int get_exec_domain_list(char *); |
71 | extern int get_dma_list(char *); | ||
72 | 71 | ||
73 | static int proc_calc_metrics(char *page, char **start, off_t off, | 72 | static int proc_calc_metrics(char *page, char **start, off_t off, |
74 | int count, int *eof, int len) | 73 | int count, int *eof, int len) |