summaryrefslogtreecommitdiff
path: root/include/linux/sh_dma.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sh_dma.h')
-rw-r--r--include/linux/sh_dma.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/sh_dma.h b/include/linux/sh_dma.h
index 425450b980b8..e081e8e8d109 100644
--- a/include/linux/sh_dma.h
+++ b/include/linux/sh_dma.h
@@ -10,12 +10,16 @@
#ifndef SH_DMA_H
#define SH_DMA_H
-#include <linux/list.h>
#include <linux/dmaengine.h>
+#include <linux/list.h>
+#include <linux/shdma-base.h>
/* Used by slave DMA clients to request DMA to/from a specific peripheral */
struct sh_dmae_slave {
- unsigned int slave_id; /* Set by the platform */
+ union {
+ unsigned int slave_id; /* Set by the platform */
+ struct shdma_slave shdma_slave;
+ };
struct device *dma_dev; /* Set by the platform */
const struct sh_dmae_slave_config *config; /* Set by the driver */
};