aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/at91/patches-3.14/805-free_some_portc_pins.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2014-09-03 03:10:18 +0000
committerFlorian Fainelli <florian@openwrt.org>2014-09-03 03:10:18 +0000
commit892d571d079e95179d50ad7424574e5752ece832 (patch)
treed8f98340a201f75bfaedd2827d09619cd9b26fb0 /target/linux/at91/patches-3.14/805-free_some_portc_pins.patch
parent035f68e8587800c5c9a9d2a7cbeb44a4afeb85e4 (diff)
downloadupstream-892d571d079e95179d50ad7424574e5752ece832.tar.gz
upstream-892d571d079e95179d50ad7424574e5752ece832.tar.bz2
upstream-892d571d079e95179d50ad7424574e5752ece832.zip
at91: add 3.14 support
Add support for Linux 3.14 for the Atmel's AT91 platform. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 42414
Diffstat (limited to 'target/linux/at91/patches-3.14/805-free_some_portc_pins.patch')
-rw-r--r--target/linux/at91/patches-3.14/805-free_some_portc_pins.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/at91/patches-3.14/805-free_some_portc_pins.patch b/target/linux/at91/patches-3.14/805-free_some_portc_pins.patch
new file mode 100644
index 0000000000..a9694d1f01
--- /dev/null
+++ b/target/linux/at91/patches-3.14/805-free_some_portc_pins.patch
@@ -0,0 +1,11 @@
+--- a/arch/arm/mach-at91/at91sam9260_devices.c
++++ b/arch/arm/mach-at91/at91sam9260_devices.c
+@@ -507,7 +507,7 @@ static struct platform_device at91sam926
+ .num_resources = ARRAY_SIZE(spi1_resources),
+ };
+
+-static const unsigned spi1_standard_cs[4] = { AT91_PIN_PB3, AT91_PIN_PC5, AT91_PIN_PC4, AT91_PIN_PC3 };
++static const unsigned spi1_standard_cs[2] = { AT91_PIN_PB3, AT91_PIN_PC5 };
+
+ void __init at91_add_device_spi(struct spi_board_info *devices, int nr_devices)
+ {