summaryrefslogtreecommitdiffstats
path: root/include/linux/of_spi.h
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2012-04-07 14:16:53 -0600
committerGrant Likely <grant.likely@secretlab.ca>2012-04-13 10:21:39 -0600
commitd57a4282d04810417c4ed2a49cbbeda8b3569b18 (patch)
tree40fbd959e4a72c7c2635f8488bbd43d0ff353b80 /include/linux/of_spi.h
parent8ebb35fd7ad07ab9a88a35eedd4f89a1e2a8fa55 (diff)
downloadlinux-d57a4282d04810417c4ed2a49cbbeda8b3569b18.tar.gz
linux-d57a4282d04810417c4ed2a49cbbeda8b3569b18.tar.bz2
linux-d57a4282d04810417c4ed2a49cbbeda8b3569b18.zip
spi/devicetree: Move devicetree support code into spi directory
The SPI device tree support code isn't shared by any other subsystem. It can be moved into the core drivers/spi directory and the exported symbol can be removed. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Cc: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'include/linux/of_spi.h')
-rw-r--r--include/linux/of_spi.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/include/linux/of_spi.h b/include/linux/of_spi.h
deleted file mode 100644
index 9e3e70f78ae6..000000000000
--- a/include/linux/of_spi.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * OpenFirmware SPI support routines
- * Copyright (C) 2008 Secret Lab Technologies Ltd.
- *
- * Support routines for deriving SPI device attachments from the device
- * tree.
- */
-
-#ifndef __LINUX_OF_SPI_H
-#define __LINUX_OF_SPI_H
-
-#include <linux/spi/spi.h>
-
-#if defined(CONFIG_OF_SPI) || defined(CONFIG_OF_SPI_MODULE)
-extern void of_register_spi_devices(struct spi_master *master);
-#else
-static inline void of_register_spi_devices(struct spi_master *master)
-{
- return;
-}
-#endif /* CONFIG_OF_SPI */
-
-#endif /* __LINUX_OF_SPI */