aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/dmaengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/include/asm/dmaengine.h')
-rw-r--r--arch/sh/include/asm/dmaengine.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/include/asm/dmaengine.h b/arch/sh/include/asm/dmaengine.h
index bf2f30cf0a27..568e991442b0 100644
--- a/arch/sh/include/asm/dmaengine.h
+++ b/arch/sh/include/asm/dmaengine.h
@@ -17,7 +17,7 @@
17 17
18#define SH_DMAC_MAX_CHANNELS 6 18#define SH_DMAC_MAX_CHANNELS 6
19 19
20enum sh_dmae_slave_chan_id { 20enum {
21 SHDMA_SLAVE_SCIF0_TX, 21 SHDMA_SLAVE_SCIF0_TX,
22 SHDMA_SLAVE_SCIF0_RX, 22 SHDMA_SLAVE_SCIF0_RX,
23 SHDMA_SLAVE_SCIF1_TX, 23 SHDMA_SLAVE_SCIF1_TX,
@@ -38,7 +38,7 @@ enum sh_dmae_slave_chan_id {
38}; 38};
39 39
40struct sh_dmae_slave_config { 40struct sh_dmae_slave_config {
41 enum sh_dmae_slave_chan_id slave_id; 41 unsigned int slave_id;
42 dma_addr_t addr; 42 dma_addr_t addr;
43 u32 chcr; 43 u32 chcr;
44 char mid_rid; 44 char mid_rid;
@@ -68,7 +68,7 @@ struct device;
68 68
69/* Used by slave DMA clients to request DMA to/from a specific peripheral */ 69/* Used by slave DMA clients to request DMA to/from a specific peripheral */
70struct sh_dmae_slave { 70struct sh_dmae_slave {
71 enum sh_dmae_slave_chan_id slave_id; /* Set by the platform */ 71 unsigned int slave_id; /* Set by the platform */
72 struct device *dma_dev; /* Set by the platform */ 72 struct device *dma_dev; /* Set by the platform */
73 struct sh_dmae_slave_config *config; /* Set by the driver */ 73 struct sh_dmae_slave_config *config; /* Set by the driver */
74}; 74};