projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7481d0
)
ARM: mach-shmobile: sh73a0: mark DMA slave ID 0 as invalid
author
Magnus Damm
<damm@opensource.se>
Tue, 24 May 2011 11:19:35 +0000
(11:19 +0000)
committer
Paul Mundt
<lethal@linux-sh.org>
Wed, 25 May 2011 02:37:24 +0000
(11:37 +0900)
This makes it possible to leave DMA slave IDs in the platform data
at default 0 value without hitting DMA channel allocation error paths.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/include/mach/sh73a0.h
patch
|
blob
|
history
diff --git
a/arch/arm/mach-shmobile/include/mach/sh73a0.h
b/arch/arm/mach-shmobile/include/mach/sh73a0.h
index
97c47f4
..
216c3d6
100644
(file)
--- a/
arch/arm/mach-shmobile/include/mach/sh73a0.h
+++ b/
arch/arm/mach-shmobile/include/mach/sh73a0.h
@@
-465,6
+465,7
@@
enum {
};
/* DMA slave IDs */
enum {
+ SHDMA_SLAVE_INVALID,
SHDMA_SLAVE_SCIF0_TX,
SHDMA_SLAVE_SCIF0_RX,
SHDMA_SLAVE_SCIF1_TX,