summaryrefslogtreecommitdiff
path: root/chip/host/spi_controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/host/spi_controller.c')
-rw-r--r--chip/host/spi_controller.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/chip/host/spi_controller.c b/chip/host/spi_controller.c
index ae6e2c9346..a1df53d935 100644
--- a/chip/host/spi_controller.c
+++ b/chip/host/spi_controller.c
@@ -5,11 +5,12 @@
* Mock SPI Controller driver for unit test.
*/
+#include <stdint.h>
+
#include "common.h"
#include "gpio.h"
-#include "spi.h"
-#include <stdint.h>
+#include "spi.h"
test_mockable int spi_enable(const struct spi_device_t *spi_device, int enable)
{