From c62fe184bf26173003a5f5acf0c3043f7df16d7e Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 16 Apr 2015 06:49:34 -0600 Subject: [PATCH] Calypso/Compal_e86 update from Craig Comstock --- arch/arm/src/calypso/calypso_spi.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/src/calypso/calypso_spi.c b/arch/arm/src/calypso/calypso_spi.c index a1e0a3f5a16..7357ccd67a7 100644 --- a/arch/arm/src/calypso/calypso_spi.c +++ b/arch/arm/src/calypso/calypso_spi.c @@ -43,6 +43,7 @@ #include #include #include +#include #include "up_arch.h" #include "calypso_spi.h" @@ -66,8 +67,12 @@ struct calypso_spidev_s }; /* STUBS! */ + #ifndef CONFIG_SPI_OWNBUS -static int spi_lock(FAR struct spi_dev_s *dev, bool lock); +static int spi_lock(FAR struct spi_dev_s *dev, bool lock) +{ + return -ENOSYS; +} #endif static void spi_select(FAR struct spi_dev_s *dev, enum spi_dev_e devid,