summaryrefslogtreecommitdiff
path: root/nuttx/configs/sam3u-ek/src/up_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/sam3u-ek/src/up_spi.c')
-rw-r--r--nuttx/configs/sam3u-ek/src/up_spi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/sam3u-ek/src/up_spi.c b/nuttx/configs/sam3u-ek/src/up_spi.c
index 5d4073237..b42959a9b 100644
--- a/nuttx/configs/sam3u-ek/src/up_spi.c
+++ b/nuttx/configs/sam3u-ek/src/up_spi.c
@@ -53,7 +53,7 @@
#include "sam_spi.h"
#include "sam3u-ek.h"
-#ifdef CONFIG_SAM34_SPI
+#ifdef CONFIG_SAM34_SPI0
/************************************************************************************
* Definitions
@@ -201,4 +201,4 @@ uint8_t sam_spistatus(FAR struct spi_dev_s *dev, enum spi_dev_e devid)
return 0;
}
-#endif /* CONFIG_SAM34_SPI */
+#endif /* CONFIG_SAM34_SPI0 */