aboutsummaryrefslogtreecommitdiffstats
path: root/src/sam3x8e/spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sam3x8e/spi.c')
-rw-r--r--src/sam3x8e/spi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sam3x8e/spi.c b/src/sam3x8e/spi.c
index 51799506..81e7b653 100644
--- a/src/sam3x8e/spi.c
+++ b/src/sam3x8e/spi.c
@@ -6,7 +6,8 @@
#include <sam3x8e.h> // REGPTR
#include "command.h" // shutdown
-#include "gpio.h" // gpio_peripheral
+#include "gpio.h" // spi_setup
+#include "internal.h" // gpio_peripheral
#include "sched.h" // sched_shutdown
#define REGPTR SPI0