Missed spiinitialize name change

This commit is contained in:
Gregory Nutt 2016-02-04 10:15:51 -06:00
parent d511afd507
commit ef64f8b3f4
2 changed files with 7 additions and 7 deletions

View File

@ -534,7 +534,7 @@ static void spi_recvblock(FAR struct spi_dev_s *dev, FAR void *buffer,
****************************************************************************/
/****************************************************************************
* Name: lpc11_spiinitialize
* Name: lpc11_spibus_initialize
*
* Description:
* Initialize the selected SPI port.
@ -547,7 +547,7 @@ static void spi_recvblock(FAR struct spi_dev_s *dev, FAR void *buffer,
*
****************************************************************************/
FAR struct spi_dev_s *lpc11_spiinitialize(int port)
FAR struct spi_dev_s *lpc11_spibus_initialize(int port)
{
FAR struct lpc11_spidev_s *priv = &g_spidev;
irqstate_t flags;

View File

@ -71,7 +71,7 @@ extern "C"
************************************************************************************/
/************************************************************************************
* Name: lpc11_spiinitialize
* Name: lpc11_spibus_initialize
*
* Description:
* Initialize the selected SPI port.
@ -84,7 +84,7 @@ extern "C"
*
************************************************************************************/
FAR struct spi_dev_s *lpc11_spiinitialize(int port);
FAR struct spi_dev_s *lpc11_spibus_initialize(int port);
/************************************************************************************
* Name: lpc11_spiselect, lpc11_status, and lpc11_spicmddata
@ -93,7 +93,7 @@ FAR struct spi_dev_s *lpc11_spiinitialize(int port);
* These external functions must be provided by board-specific logic. They are
* implementations of the select, status, and cmddata methods of the SPI interface
* defined by struct spi_ops_s (see include/nuttx/spi/spi.h). All other methods
* including lpc11_spiinitialize()) are provided by common LPC11xx logic. To use
* including lpc11_spibus_initialize()) are provided by common LPC11xx logic. To use
* this common SPI logic on your board:
*
* 1. Provide logic in lpc11_boardinitialize() to configure SPI chip select pins.
@ -104,9 +104,9 @@ FAR struct spi_dev_s *lpc11_spiinitialize(int port);
* lpc11_spicmddata() functions in your board-specific logic. This function
* will perform cmd/data selection operations using GPIOs in the way your
* board is configured.
* 3. Add a call to lpc11_spiinitialize() in your low level application
* 3. Add a call to lpc11_spibus_initialize() in your low level application
* initialization logic
* 4. The handle returned by lpc11_spiinitialize() may then be used to bind the
* 4. The handle returned by lpc11_spibus_initialize() may then be used to bind the
* SPI driver to higher level logic (e.g., calling mmcsd_spislotinitialize(),
* for example, will bind the SPI driver to the SPI MMC/SD driver).
*