summaryrefslogtreecommitdiffstats
path: root/include/linux/spi
diff options
context:
space:
mode:
authorGrant Likely2009-11-04 23:34:18 +0100
committerGrant Likely2009-11-04 23:34:18 +0100
commit42bbb70980f3720b0ae6da6af862af0e95a04351 (patch)
tree934ef43d2e39c73ee52ba91554dc369abff8324c /include/linux/spi
parentspi/mpc5200: Register SPI devices described in device tree (diff)
downloadkernel-qcow2-linux-42bbb70980f3720b0ae6da6af862af0e95a04351.tar.gz
kernel-qcow2-linux-42bbb70980f3720b0ae6da6af862af0e95a04351.tar.xz
kernel-qcow2-linux-42bbb70980f3720b0ae6da6af862af0e95a04351.zip
powerpc/5200: Add mpc5200-spi (non-PSC) device driver
Adds support for the dedicated SPI device on the Freescale MPC5200(b) SoC. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'include/linux/spi')
-rw-r--r--include/linux/spi/mpc52xx_spi.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/spi/mpc52xx_spi.h b/include/linux/spi/mpc52xx_spi.h
new file mode 100644
index 000000000000..d1004cf09241
--- /dev/null
+++ b/include/linux/spi/mpc52xx_spi.h
@@ -0,0 +1,10 @@
+
+#ifndef INCLUDE_MPC5200_SPI_H
+#define INCLUDE_MPC5200_SPI_H
+
+extern void mpc52xx_spi_set_premessage_hook(struct spi_master *master,
+ void (*hook)(struct spi_message *m,
+ void *context),
+ void *hook_context);
+
+#endif