diff --git a/arch/arm/src/lpc214x/lpc214x_spi.h b/arch/arm/src/lpc214x/lpc214x_spi.h index 11d292019d2..97e2fc7a58f 100644 --- a/arch/arm/src/lpc214x/lpc214x_spi.h +++ b/arch/arm/src/lpc214x/lpc214x_spi.h @@ -163,4 +163,22 @@ * Public Function Prototypes ************************************************************************************/ +struct spi_dev_s; /* Forward reference */ + +/**************************************************************************** + * Name: lpc214x_spibus_initialize + * + * Description: + * Initialize the selected SPI port + * + * Input Parameter: + * Port number (for hardware that has mutiple SPI interfaces) + * + * Returned Value: + * Valid SPI device structre reference on succcess; a NULL on failure + * + ****************************************************************************/ + +FAR struct spi_dev_s *lpc214x_spibus_initialize(int port); + #endif /* _ARCH_ARM_SRC_LPC214X_SPI_H */