Comply the demo project to new spi dma interface.
[bertos.git] / boards / at91sam7x-ek / examples / sd_fat / main.c
index c51da3e64d776a8ddfe6d56450d75e41c16eb3de..05c9ae01ffc107ee9fbb90367275ef01e15c4ced 100644 (file)
 #include <drv/sd.h>
 #include <drv/ser.h>
 #include <drv/tmp123.h>
-#include <drv/spi_dma_at91.h>
+#include <drv/spi_dma.h>
 #include <drv/mpxx6115a.h>
 #include <drv/adc.h>
 
@@ -207,7 +207,7 @@ typedef struct INISetting
 /*
  * Static definition for application devices.
  */
-static SpiDmaAt91 spi_dma;
+static SpiDma spi_dma;
 static Serial temp_sensor_bus;
 static Serial log_port;
 static Sd sd;