diff options
author | Daniel Walker <dwalker@mvista.com> | 2007-10-18 03:06:06 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 14:37:24 -0700 |
commit | 902749cdbd3da8199e57d082f36a6de60591aeb6 (patch) | |
tree | 2cab6b666d268739da18bfbc6bfc6d16364ce295 /kernel/dma.c | |
parent | 9ce34218a8b63594c8958b5a4ef8cce24d511e1b (diff) | |
download | talos-obmc-linux-902749cdbd3da8199e57d082f36a6de60591aeb6.tar.gz talos-obmc-linux-902749cdbd3da8199e57d082f36a6de60591aeb6.zip |
whitespace fixes: DMA channel allocator
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>
Diffstat (limited to 'kernel/dma.c')
-rw-r--r-- | kernel/dma.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/dma.c b/kernel/dma.c index 937b13ca33ba..6a82bb716dac 100644 --- 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; |