diff options
author | John Crispin <blogic@openwrt.org> | 2015-04-21 12:41:55 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-04-21 12:41:55 +0000 |
commit | f43a75fe1a0489e90178d80b2c68e70a5750d9fe (patch) | |
tree | 8fe9a8d39bdf68bebd843437528845c1f641a2a3 /target/linux/ar71xx/patches-3.18/206-spi-ath79-make-chipselect-logic-more-flexible.patch | |
parent | a606301672ffc87a1380c4fcb95a33d604333b1c (diff) | |
download | master-187ad058-f43a75fe1a0489e90178d80b2c68e70a5750d9fe.tar.gz master-187ad058-f43a75fe1a0489e90178d80b2c68e70a5750d9fe.tar.bz2 master-187ad058-f43a75fe1a0489e90178d80b2c68e70a5750d9fe.zip |
ar71xx: merge ap81 patches into one
Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45551 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/patches-3.18/206-spi-ath79-make-chipselect-logic-more-flexible.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.18/206-spi-ath79-make-chipselect-logic-more-flexible.patch | 21 |
1 files changed, 0 insertions, 21 deletions
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 <juhosg@openwrt.org> } }; ---- 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 |