aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/of_spi.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-07-28 02:30:40 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-07-28 02:30:40 -0400
commitd65d830ca06040ffe6a35ce7cb06ee642ddbd6a8 (patch)
tree27cda8b58a24eb8b1acdc3c14f902b90ab3d9eb1 /include/linux/of_spi.h
parent837b41b5de356aa67abb2cadb5eef3efc7776f91 (diff)
parent284b01897340974000bcc84de87a4e1becc8a83d (diff)
Merge commit 'gcl/gcl-next'
Diffstat (limited to 'include/linux/of_spi.h')
-rw-r--r--include/linux/of_spi.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/linux/of_spi.h b/include/linux/of_spi.h
new file mode 100644
index 000000000000..5f71ee8c0868
--- /dev/null
+++ b/include/linux/of_spi.h
@@ -0,0 +1,18 @@
1/*
2 * OpenFirmware SPI support routines
3 * Copyright (C) 2008 Secret Lab Technologies Ltd.
4 *
5 * Support routines for deriving SPI device attachments from the device
6 * tree.
7 */
8
9#ifndef __LINUX_OF_SPI_H
10#define __LINUX_OF_SPI_H
11
12#include <linux/of.h>
13#include <linux/spi/spi.h>
14
15extern void of_register_spi_devices(struct spi_master *master,
16 struct device_node *np);
17
18#endif /* __LINUX_OF_SPI */