1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-22 17:21:44 +02:00
openwrt-xburst/target/linux/at91/patches/805-free_some_portc_pins.patch

12 lines
476 B
Diff
Raw Normal View History

--- a/arch/arm/mach-at91/at91sam9260_devices.c
+++ b/arch/arm/mach-at91/at91sam9260_devices.c
@@ -571,7 +571,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)
{