Comply the demo project to new spi dma interface.
[bertos.git] / boards / sam3n-ek / templates / empty / main.c
index 698992fee2962843f29b5cd5cba8ece32ee6a573..8e5fb7826052bda9b9cf54a2dd415de3f11d6c48 100644 (file)
@@ -44,7 +44,7 @@
 #include <cfg/debug.h>
 
 #include <cpu/irq.h>
-#include <cpu/arm/drv/spi_dma_at91.h>
+#include <drv/spi_dma.h>
 
 #include <drv/timer.h>
 #include <drv/kbd.h>
@@ -56,7 +56,7 @@ static Bitmap lcd_bitmap;
 /* Raster associated to the Bitmap image */
 static uint8_t raster[RAST_SIZE(LCD_WIDTH, LCD_HEIGHT)];
 /* LCD spi context with DMA access */
-struct SpiDmaAt91 spi;
+struct SpiDma spi;
 
 static void init(void)
 {