From 80d1c7ab4590471dca46d4ae7ae5d3211ad2cf8d Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 25 Jul 2012 18:41:10 +0000 Subject: Add support for the TI PGA11x amplifier/multiplexer git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4977 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/drivers/mtd/ramtron.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nuttx/drivers/mtd/ramtron.c') diff --git a/nuttx/drivers/mtd/ramtron.c b/nuttx/drivers/mtd/ramtron.c index 5615823d6..074545e2d 100644 --- a/nuttx/drivers/mtd/ramtron.c +++ b/nuttx/drivers/mtd/ramtron.c @@ -275,7 +275,7 @@ static void ramtron_lock(FAR struct spi_dev_s *dev) * the SPI buss. We will retain that exclusive access until the bus is unlocked. */ - SPI_LOCK(dev, true); + (void)SPI_LOCK(dev, true); /* After locking the SPI bus, the we also need call the setfrequency, setbits, and * setmode methods to make sure that the SPI is properly configured for the device. @@ -295,7 +295,7 @@ static void ramtron_lock(FAR struct spi_dev_s *dev) static inline void ramtron_unlock(FAR struct spi_dev_s *dev) { - SPI_LOCK(dev, false); + (void)SPI_LOCK(dev, false); } /************************************************************************************ -- cgit v1.2.3