summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/spi/rspi.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/spi/rspi.h')
-rw-r--r--kernel/include/linux/spi/rspi.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/kernel/include/linux/spi/rspi.h b/kernel/include/linux/spi/rspi.h
new file mode 100644
index 000000000..a693188cc
--- /dev/null
+++ b/kernel/include/linux/spi/rspi.h
@@ -0,0 +1,26 @@
+/*
+ * Renesas SPI driver
+ *
+ * Copyright (C) 2012 Renesas Solutions Corp.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef __LINUX_SPI_RENESAS_SPI_H__
+#define __LINUX_SPI_RENESAS_SPI_H__
+
+struct rspi_plat_data {
+ unsigned int dma_tx_id;
+ unsigned int dma_rx_id;
+
+ u16 num_chipselect;
+};
+
+#endif