diff options
author | Alban Bedel <albeu@free.fr> | 2015-04-24 14:19:22 (GMT) |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-27 14:44:56 (GMT) |
commit | 85f62476fc44e6915787f832371400cbdd7d8bff (patch) | |
tree | 02cbab3b185e4b87e5d23ad41109cb6baaac8407 /arch/mips/include/asm/mach-ath79 | |
parent | 76426aacabc7bb0bafdcad48f5facabe83ebc451 (diff) | |
download | linux-85f62476fc44e6915787f832371400cbdd7d8bff.tar.xz |
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/asm/mach-ath79')
-rw-r--r-- | arch/mips/include/asm/mach-ath79/ath79_spi_platform.h | 4 |
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 aa2283e..aa71216 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 */ |