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