summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/spi.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/include/asm/spi.h')
-rw-r--r--arch/sh/include/asm/spi.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/sh/include/asm/spi.h b/arch/sh/include/asm/spi.h
new file mode 100644
index 00000000000..e96f5b0953c
--- /dev/null
+++ b/arch/sh/include/asm/spi.h
@@ -0,0 +1,13 @@
+#ifndef __ASM_SPI_H__
+#define __ASM_SPI_H__
+
+struct sh_spi_info;
+
+struct sh_spi_info {
+ int bus_num;
+ int num_chipselect;
+
+ void (*chip_select)(struct sh_spi_info *spi, int cs, int state);
+};
+
+#endif /* __ASM_SPI_H__ */