summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/dma-mv_xor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/platform_data/dma-mv_xor.h')
-rw-r--r--include/linux/platform_data/dma-mv_xor.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/linux/platform_data/dma-mv_xor.h b/include/linux/platform_data/dma-mv_xor.h
new file mode 100644
index 00000000..8ec18f64
--- /dev/null
+++ b/include/linux/platform_data/dma-mv_xor.h
@@ -0,0 +1,23 @@
+/*
+ * arch/arm/plat-orion/include/plat/mv_xor.h
+ *
+ * Marvell XOR platform device data definition file.
+ */
+
+#ifndef __PLAT_MV_XOR_H
+#define __PLAT_MV_XOR_H
+
+#include <linux/dmaengine.h>
+#include <linux/mbus.h>
+
+#define MV_XOR_NAME "mv_xor"
+
+struct mv_xor_channel_data {
+ dma_cap_mask_t cap_mask;
+};
+
+struct mv_xor_platform_data {
+ struct mv_xor_channel_data *channels;
+};
+
+#endif