From 1200296d38ac828c0d4c04928e85b24542c2307d Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 21 Apr 2015 12:41:55 +0000 Subject: ar71xx: merge ap81 patches into one Signed-off-by: Roman Yeryomin SVN-Revision: 45551 --- ...-ath79-make-chipselect-logic-more-flexible.patch | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'target/linux/ar71xx/patches-3.18/206-spi-ath79-make-chipselect-logic-more-flexible.patch') diff --git a/target/linux/ar71xx/patches-3.18/206-spi-ath79-make-chipselect-logic-more-flexible.patch b/target/linux/ar71xx/patches-3.18/206-spi-ath79-make-chipselect-logic-more-flexible.patch index 1d38986b63..1cf4c2398b 100644 --- a/target/linux/ar71xx/patches-3.18/206-spi-ath79-make-chipselect-logic-more-flexible.patch +++ b/target/linux/ar71xx/patches-3.18/206-spi-ath79-make-chipselect-logic-more-flexible.patch @@ -57,27 +57,6 @@ Signed-off-by: Gabor Juhos } }; ---- a/arch/mips/ath79/mach-ap81.c -+++ b/arch/mips/ath79/mach-ap81.c -@@ -67,12 +67,18 @@ static struct gpio_keys_button ap81_gpio - } - }; - -+static struct ath79_spi_controller_data ap81_spi0_data = { -+ .cs_type = ATH79_SPI_CS_TYPE_INTERNAL, -+ .cs_line = 0, -+}; -+ - static struct spi_board_info ap81_spi_info[] = { - { - .bus_num = 0, - .chip_select = 0, - .max_speed_hz = 25000000, - .modalias = "m25p64", -+ .controller_data = &ap81_spi0_data, - } - }; - --- a/arch/mips/ath79/mach-db120.c +++ b/arch/mips/ath79/mach-db120.c @@ -76,12 +76,18 @@ static struct gpio_keys_button db120_gpi -- cgit v1.2.3