aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include
diff options
context:
space:
mode:
authorAlban Bedel <albeu@free.fr>2015-04-24 16:19:22 +0200
committerMark Brown <broonie@kernel.org>2015-04-27 15:44:56 +0100
commit85f62476fc44e6915787f832371400cbdd7d8bff (patch)
tree02cbab3b185e4b87e5d23ad41109cb6baaac8407 /arch/mips/include
parentspi: spi-ath79: add binding documentation for the AR7100 SPI controller (diff)
downloadlinux-dev-85f62476fc44e6915787f832371400cbdd7d8bff.tar.xz
linux-dev-85f62476fc44e6915787f832371400cbdd7d8bff.zip
spi: spi-ath79: Add device tree support
Set the OF node of the spi controller and use the generic GPIO based chip select instead of the custom controller data. As the controller data isn't used by any board just drop it. Signed-off-by: Alban Bedel <albeu@free.fr> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/mips/include')
-rw-r--r--arch/mips/include/asm/mach-ath79/ath79_spi_platform.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/mips/include/asm/mach-ath79/ath79_spi_platform.h b/arch/mips/include/asm/mach-ath79/ath79_spi_platform.h
index aa2283e602fc..aa71216edf99 100644
--- a/arch/mips/include/asm/mach-ath79/ath79_spi_platform.h
+++ b/arch/mips/include/asm/mach-ath79/ath79_spi_platform.h
@@ -16,8 +16,4 @@ struct ath79_spi_platform_data {
unsigned num_chipselect;
};
-struct ath79_spi_controller_data {
- unsigned gpio;
-};
-
#endif /* _ATH79_SPI_PLATFORM_H */