diff --git a/drivers/spi/atmel_dataflash_spi.c b/drivers/spi/atmel_dataflash_spi.c index 9c991e8cbc..e7d3ff0ac5 100644 --- a/drivers/spi/atmel_dataflash_spi.c +++ b/drivers/spi/atmel_dataflash_spi.c @@ -21,10 +21,9 @@ #include #ifndef CONFIG_AT91_LEGACY -# define CONFIG_ATMEL_LEGACY +# define CONFIG_AT91_LEGACY # warning Please update to use C structure SoC access ! #endif -#include #include #include