LPC17xx SPI: Remove an unused static prototype that caused a compile time warning

This commit is contained in:
Gregory Nutt 2013-09-17 17:14:08 -06:00
parent 26009bf8bb
commit 8f88387712
2 changed files with 9 additions and 1 deletions

View File

@ -5580,3 +5580,12 @@
another set of PHY selections are enabled for ETH1_ (2013-9-17). another set of PHY selections are enabled for ETH1_ (2013-9-17).
* include/nuttx/net/mii.h: Add definitions for the Micrel KSZ8051 PHY * include/nuttx/net/mii.h: Add definitions for the Micrel KSZ8051 PHY
(2013-9-17). (2013-9-17).
* configs/zkit-arm-1768: MMC/SD is on SPI, not SSP0. From Rashid
Fatah (2013-9-17).
* configs/: Lots of defconfig files changes. A consequence of the
above renaming and moving of the PHY configuration settings is
that the you now also have to set CONFIG_NETDEVICES=y if you
need to set a PHY configuration (2013-9-17).
* arch/arm/src/lpc17xx/lpc17_spi.c: Remove undefined spi_select()
prototype. This was cause compile time warnings (2013-9-17).

View File

@ -133,7 +133,6 @@ struct lpc17_spidev_s
#ifndef CONFIG_SPI_OWNBUS #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);
#endif #endif
static void spi_select(FAR struct spi_dev_s *dev, enum spi_dev_e devid, bool selected);
static uint32_t spi_setfrequency(FAR struct spi_dev_s *dev, uint32_t frequency); static uint32_t spi_setfrequency(FAR struct spi_dev_s *dev, uint32_t frequency);
static void spi_setmode(FAR struct spi_dev_s *dev, enum spi_mode_e mode); static void spi_setmode(FAR struct spi_dev_s *dev, enum spi_mode_e mode);
static void spi_setbits(FAR struct spi_dev_s *dev, int nbits); static void spi_setbits(FAR struct spi_dev_s *dev, int nbits);