summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-09-17 17:14:08 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-09-17 17:14:08 -0600
commit6330feb05215440a9377e08db470af6bee247bd2 (patch)
tree0f935e92486550443774d6f61f09621ccba98722
parent9d38b1eaed5e6753ca725924fc5c36ecfc9bb972 (diff)
downloadnuttx-6330feb05215440a9377e08db470af6bee247bd2.tar.gz
nuttx-6330feb05215440a9377e08db470af6bee247bd2.tar.bz2
nuttx-6330feb05215440a9377e08db470af6bee247bd2.zip
LPC17xx SPI: Remove an unused static prototype that caused a compile time warning
-rw-r--r--nuttx/ChangeLog9
-rw-r--r--nuttx/arch/arm/src/lpc17xx/lpc17_spi.c1
2 files changed, 9 insertions, 1 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog
index 12b14d0df..ec29a8b15 100644
--- a/nuttx/ChangeLog
+++ b/nuttx/ChangeLog
@@ -5580,3 +5580,12 @@
another set of PHY selections are enabled for ETH1_ (2013-9-17).
* include/nuttx/net/mii.h: Add definitions for the Micrel KSZ8051 PHY
(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).
+
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_spi.c b/nuttx/arch/arm/src/lpc17xx/lpc17_spi.c
index 5184e11c9..18d8443d9 100644
--- a/nuttx/arch/arm/src/lpc17xx/lpc17_spi.c
+++ b/nuttx/arch/arm/src/lpc17xx/lpc17_spi.c
@@ -133,7 +133,6 @@ struct lpc17_spidev_s
#ifndef CONFIG_SPI_OWNBUS
static int spi_lock(FAR struct spi_dev_s *dev, bool lock);
#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 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);