projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ce3421
)
whitespace fixes: DMA channel allocator
author
Daniel Walker
<dwalker@mvista.com>
Thu, 18 Oct 2007 10:06:06 +0000
(
03:06
-0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:24 +0000
(14:37 -0700)
Signed-off-by: Daniel Walker <dwalker@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/dma.c
patch
|
blob
|
history
diff --git
a/kernel/dma.c
b/kernel/dma.c
index 937b13ca33baaac6a3ab01437b4016f9995a11f9..6a82bb716dace9bbcf0b469e3119fd10a95b9b1a 100644
(file)
--- a/
kernel/dma.c
+++ b/
kernel/dma.c
@@
-20,7
+20,7
@@
#include <asm/dma.h>
#include <asm/system.h>
-
+
/* A note on resource allocation:
*
@@
-95,7
+95,7
@@
void free_dma(unsigned int dmanr)
if (xchg(&dma_chan_busy[dmanr].lock, 0) == 0) {
printk(KERN_WARNING "Trying to free free DMA%d\n", dmanr);
return;
- }
+ }
} /* free_dma */
@@
-121,8
+121,8
@@
static int proc_dma_show(struct seq_file *m, void *v)
for (i = 0 ; i < MAX_DMA_CHANNELS ; i++) {
if (dma_chan_busy[i].lock) {
- seq_printf(m, "%2d: %s\n", i,
- dma_chan_busy[i].device_id);
+
seq_printf(m, "%2d: %s\n", i,
+
dma_chan_busy[i].device_id);
}
}
return 0;