aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/spi
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2009-11-04 15:34:18 -0700
committerGrant Likely <grant.likely@secretlab.ca>2009-11-04 15:34:18 -0700
commit42bbb70980f3720b0ae6da6af862af0e95a04351 (patch)
tree934ef43d2e39c73ee52ba91554dc369abff8324c /include/linux/spi
parentad6577629acf8a3f47165248ca7ccc0d94673ada (diff)
downloadkernel_samsung_smdk4412-42bbb70980f3720b0ae6da6af862af0e95a04351.zip
kernel_samsung_smdk4412-42bbb70980f3720b0ae6da6af862af0e95a04351.tar.gz
kernel_samsung_smdk4412-42bbb70980f3720b0ae6da6af862af0e95a04351.tar.bz2
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 0000000..d1004cf
--- /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