diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2012-04-08 00:16:53 +0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-04-13 20:21:39 +0400 |
commit | d57a4282d04810417c4ed2a49cbbeda8b3569b18 (patch) | |
tree | 40fbd959e4a72c7c2635f8488bbd43d0ff353b80 /include/linux | |
parent | 8ebb35fd7ad07ab9a88a35eedd4f89a1e2a8fa55 (diff) | |
download | linux-d57a4282d04810417c4ed2a49cbbeda8b3569b18.tar.xz |
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')
-rw-r--r-- | include/linux/of_spi.h | 23 |
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 */ |