diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-07-05 21:27:17 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-07-25 09:27:28 +0200 |
commit | bc1932b201d05224b4eed5a9388088ce767fd77b (patch) | |
tree | 34255389f24b8c4e78c9eeaaac9823f10a9a0420 /arch/arm/mach-at91/at91rm9200_devices.c | |
parent | 2f1d3b49d1d069f8e9f2299d2d884d4653cca869 (diff) | |
download | barebox-bc1932b201d05224b4eed5a9388088ce767fd77b.tar.gz barebox-bc1932b201d05224b4eed5a9388088ce767fd77b.tar.xz |
ARM at91: remove const
Although the spi chipselects should really be const, there is no
good way to fix the compiler warning, so remove the const.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-at91/at91rm9200_devices.c')
-rw-r--r-- | arch/arm/mach-at91/at91rm9200_devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/at91rm9200_devices.c b/arch/arm/mach-at91/at91rm9200_devices.c index 3bfa08e706..8cb2f57751 100644 --- a/arch/arm/mach-at91/at91rm9200_devices.c +++ b/arch/arm/mach-at91/at91rm9200_devices.c @@ -159,7 +159,7 @@ void __init at91_add_device_nand(struct atmel_nand_data *data) {} * -------------------------------------------------------------------- */ #if defined(CONFIG_DRIVER_SPI_ATMEL) -static const unsigned spi_standard_cs[4] = { AT91_PIN_PA3, AT91_PIN_PA4, AT91_PIN_PA5, AT91_PIN_PA6 }; +static unsigned spi_standard_cs[4] = { AT91_PIN_PA3, AT91_PIN_PA4, AT91_PIN_PA5, AT91_PIN_PA6 }; static struct at91_spi_platform_data spi_pdata[] = { [0] = { |