summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/sama5/sam_spi.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-08-21 11:16:55 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-08-21 11:16:55 -0600
commit4c36b97235c919e8001e08a6120fc86aae9dff3e (patch)
tree8bb5885dfea494406caec7f4738d7349e50ecce6 /nuttx/arch/arm/src/sama5/sam_spi.c
parent53780a7956316b463230e20a80a6a9b1e3d05bf1 (diff)
downloadpx4-nuttx-4c36b97235c919e8001e08a6120fc86aae9dff3e.tar.gz
px4-nuttx-4c36b97235c919e8001e08a6120fc86aae9dff3e.tar.bz2
px4-nuttx-4c36b97235c919e8001e08a6120fc86aae9dff3e.zip
wdog.h does not contain any application interface, only internal OS interface. Further, it is non-standard. Move wdog.h from include/ to include/nuttx. For the same reason, move the description of the watchdog timer interfaces from the Users Guide to the Porting Guide.
Diffstat (limited to 'nuttx/arch/arm/src/sama5/sam_spi.c')
-rw-r--r--nuttx/arch/arm/src/sama5/sam_spi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/sama5/sam_spi.c b/nuttx/arch/arm/src/sama5/sam_spi.c
index 3a1a4652a..5b4a6d15f 100644
--- a/nuttx/arch/arm/src/sama5/sam_spi.c
+++ b/nuttx/arch/arm/src/sama5/sam_spi.c
@@ -1,7 +1,7 @@
/****************************************************************************
* arch/arm/src/sama5/sam_spi.c
*
- * Copyright (C) 2013 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2013-2014 Gregory Nutt. All rights reserved.
* Authors: Gregory Nutt <gnutt@nuttx.org>
*
* This derives from SAM3/4 SPI driver:
@@ -50,13 +50,14 @@
#include <stdlib.h>
#include <string.h>
#include <semaphore.h>
-#include <wdog.h>
#include <errno.h>
#include <assert.h>
#include <debug.h>
#include <arch/board/board.h>
+
#include <nuttx/arch.h>
+#include <nuttx/wdog.h>
#include <nuttx/clock.h>
#include <nuttx/spi/spi.h>