include: nuttx: spi: nxstyle error fix

Nxstyle error fix to silence the CI.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea
2021-01-28 17:26:30 +01:00
committed by Xiang Xiao
parent 83ebb6448c
commit 419bcb05d5
2 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -48,7 +48,7 @@
#ifdef CONFIG_SPI_BITBANG #ifdef CONFIG_SPI_BITBANG
/**************************************************************************** /****************************************************************************
* Private Types * Public Types
****************************************************************************/ ****************************************************************************/
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
@@ -139,7 +139,8 @@ extern "C"
* *
****************************************************************************/ ****************************************************************************/
FAR struct spi_dev_s *spi_create_bitbang(FAR const struct spi_bitbang_ops_s *low); FAR struct spi_dev_s *spi_create_bitbang(
FAR const struct spi_bitbang_ops_s *low);
#undef EXTERN #undef EXTERN
#if defined(__cplusplus) #if defined(__cplusplus)
+2 -1
View File
@@ -52,6 +52,7 @@
#ifdef CONFIG_SPI_EXCHANGE #ifdef CONFIG_SPI_EXCHANGE
/* SPI Character Driver IOCTL Commands **************************************/ /* SPI Character Driver IOCTL Commands **************************************/
/* The SPI driver is intended to support application testing of the SPI bus. /* The SPI driver is intended to support application testing of the SPI bus.
* The SPI driver simply provides a user-accessible wrapper around the * The SPI driver simply provides a user-accessible wrapper around the
* OS internal spi_transfer() function. The following IOCTL commands to * OS internal spi_transfer() function. The following IOCTL commands to
@@ -126,7 +127,7 @@ struct spi_sequence_s
}; };
/**************************************************************************** /****************************************************************************
* Public Functions * Public Functions Definitions
****************************************************************************/ ****************************************************************************/
/**************************************************************************** /****************************************************************************