summaryrefslogtreecommitdiff
path: root/nuttx/configs/sam3u-ek
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-07-01 08:11:54 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-07-01 08:11:54 -0600
commit55f91130376b9580a9720a641e80d4049a19d639 (patch)
treea2e85a84f3c1b8f5bdf4f8121e24846f79a43831 /nuttx/configs/sam3u-ek
parent39c19d9c4ef7c134a59bfacb671032df6e3156f2 (diff)
downloadpx4-nuttx-55f91130376b9580a9720a641e80d4049a19d639.tar.gz
px4-nuttx-55f91130376b9580a9720a641e80d4049a19d639.tar.bz2
px4-nuttx-55f91130376b9580a9720a641e80d4049a19d639.zip
Created new directories to hold SPI-related files
Diffstat (limited to 'nuttx/configs/sam3u-ek')
-rw-r--r--nuttx/configs/sam3u-ek/src/up_spi.c6
-rw-r--r--nuttx/configs/sam3u-ek/src/up_touchscreen.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/configs/sam3u-ek/src/up_spi.c b/nuttx/configs/sam3u-ek/src/up_spi.c
index b42959a9b..f06c37747 100644
--- a/nuttx/configs/sam3u-ek/src/up_spi.c
+++ b/nuttx/configs/sam3u-ek/src/up_spi.c
@@ -44,7 +44,7 @@
#include <debug.h>
#include <errno.h>
-#include <nuttx/spi.h>
+#include <nuttx/spi/spi.h>
#include <arch/board/board.h>
#include "up_arch.h"
@@ -116,7 +116,7 @@ void weak_function sam_spiinitialize(void)
* o sam_spiselect is a functions tomanage the board-specific chip selects
* o sam_spistatus and sam_spicmddata: Implementations of the status
* and cmddata methods of the SPI interface defined by struct spi_ops_
- * (see include/nuttx/spi.h). All other methods including
+ * (see include/nuttx/spi/spi.h). All other methods including
* up_spiinitialize()) are provided by common SAM3/4 logic.
*
* To use this common SPI logic on your board:
@@ -192,7 +192,7 @@ void sam_spiselect(enum spi_dev_e devid, bool selected)
* devid - Identifies the (logical) device
*
* Returned Values:
- * Bit-encoded SPI status (see include/nuttx/spi.h.
+ * Bit-encoded SPI status (see include/nuttx/spi/spi.h.
*
****************************************************************************/
diff --git a/nuttx/configs/sam3u-ek/src/up_touchscreen.c b/nuttx/configs/sam3u-ek/src/up_touchscreen.c
index d70ad52fb..c3db19d04 100644
--- a/nuttx/configs/sam3u-ek/src/up_touchscreen.c
+++ b/nuttx/configs/sam3u-ek/src/up_touchscreen.c
@@ -45,7 +45,7 @@
#include <assert.h>
#include <errno.h>
-#include <nuttx/spi.h>
+#include <nuttx/spi/spi.h>
#include <nuttx/input/touchscreen.h>
#include <nuttx/input/ads7843e.h>