From f1ca1b742ce62d1f2187f25233de52d1601aac7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Th=C3=A9baudeau?= Date: Mon, 4 Nov 2013 16:59:02 +0100 Subject: [PATCH] cc2538: spi: Include spi-arch.h before dev/spi.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit spi-arch.h configures dev/spi.h, so it must be #included first. Luckily, this mistake did not have any consequence here, but fix it in order to avoid possible future issues. Signed-off-by: Benoît Thébaudeau --- cpu/cc2538/dev/spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/cc2538/dev/spi.c b/cpu/cc2538/dev/spi.c index 2a8d48d92..77a02ceec 100644 --- a/cpu/cc2538/dev/spi.c +++ b/cpu/cc2538/dev/spi.c @@ -35,12 +35,12 @@ */ #include "contiki.h" #include "reg.h" +#include "spi-arch.h" #include "dev/ioc.h" #include "dev/sys-ctrl.h" #include "dev/spi.h" #include "dev/ssi.h" #include "dev/gpio.h" -#include "spi-arch.h" /** * \brief Initialize the SPI bus.