diff options
Diffstat (limited to 'arch/arm/mach-at91/arm926ejs/at91sam9rl_devices.c')
-rw-r--r-- | arch/arm/mach-at91/arm926ejs/at91sam9rl_devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/arm926ejs/at91sam9rl_devices.c b/arch/arm/mach-at91/arm926ejs/at91sam9rl_devices.c index dbf9386faa..cd38c6597a 100644 --- a/arch/arm/mach-at91/arm926ejs/at91sam9rl_devices.c +++ b/arch/arm/mach-at91/arm926ejs/at91sam9rl_devices.c @@ -55,7 +55,7 @@ void at91_seriald_hw_init(void) at91_periph_clk_enable(ATMEL_ID_SYS); } -#if defined(CONFIG_HAS_DATAFLASH) || defined(CONFIG_ATMEL_SPI) +#ifdef CONFIG_ATMEL_SPI void at91_spi0_hw_init(unsigned long cs_mask) { at91_set_a_periph(AT91_PIO_PORTA, 25, PUP); /* SPI0_MISO */ |