diff options
Diffstat (limited to 'drivers/dma/shdma.h')
-rw-r--r-- | drivers/dma/shdma.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/dma/shdma.h b/drivers/dma/shdma.h index 5ae9fc512180..dc56576f9fdb 100644 --- a/drivers/dma/shdma.h +++ b/drivers/dma/shdma.h | |||
@@ -47,10 +47,14 @@ struct sh_dmae_device { | |||
47 | struct list_head node; | 47 | struct list_head node; |
48 | u32 __iomem *chan_reg; | 48 | u32 __iomem *chan_reg; |
49 | u16 __iomem *dmars; | 49 | u16 __iomem *dmars; |
50 | unsigned int chcr_offset; | ||
51 | u32 chcr_ie_bit; | ||
50 | }; | 52 | }; |
51 | 53 | ||
52 | #define to_sh_chan(chan) container_of(chan, struct sh_dmae_chan, common) | 54 | #define to_sh_chan(chan) container_of(chan, struct sh_dmae_chan, common) |
53 | #define to_sh_desc(lh) container_of(lh, struct sh_desc, node) | 55 | #define to_sh_desc(lh) container_of(lh, struct sh_desc, node) |
54 | #define tx_to_sh_desc(tx) container_of(tx, struct sh_desc, async_tx) | 56 | #define tx_to_sh_desc(tx) container_of(tx, struct sh_desc, async_tx) |
57 | #define to_sh_dev(chan) container_of(chan->common.device,\ | ||
58 | struct sh_dmae_device, common) | ||
55 | 59 | ||
56 | #endif /* __DMA_SHDMA_H */ | 60 | #endif /* __DMA_SHDMA_H */ |