Eliminate warnings

This commit is contained in:
Gregory Nutt 2015-09-08 08:27:34 -06:00
parent 7065f78b92
commit d8c83218fe
3 changed files with 1 additions and 16 deletions

View File

@ -641,13 +641,6 @@ config SDIO_DMA
For most usages, SD accesses will cause data overruns if used without For most usages, SD accesses will cause data overruns if used without
DMA. Requires LPC17_SDCARD and config LPC17_GPDMA. DMA. Requires LPC17_SDCARD and config LPC17_GPDMA.
config SDIO_DMAPRIO
hex "SDIO DMA priority"
default 0x0
depends on LPC17_GPDMA
---help---
Select SDIO DMA prority.
config SDIO_WIDTH_D1_ONLY config SDIO_WIDTH_D1_ONLY
bool "Use D1 only" bool "Use D1 only"
default n default n

View File

@ -93,8 +93,6 @@
* CONFIG_SDIO_WIDTH_D1_ONLY - This may be selected to force the driver * CONFIG_SDIO_WIDTH_D1_ONLY - This may be selected to force the driver
* operate with only a single data line (the default is to use all * operate with only a single data line (the default is to use all
* 4 SD data lines). * 4 SD data lines).
* CONFIG_SDCARD_DMAPRIO - SD card DMA priority. This can be selected if
* CONFIG_SDIO_DMA is enabled.
* CONFIG_DEBUG_SDIO - Enables some very low-level debug output * CONFIG_DEBUG_SDIO - Enables some very low-level debug output
* This also requires CONFIG_DEBUG_FS and CONFIG_DEBUG_VERBOSE * This also requires CONFIG_DEBUG_FS and CONFIG_DEBUG_VERBOSE
*/ */
@ -111,13 +109,6 @@
# error "Callback support requires CONFIG_SCHED_WORKQUEUE" # error "Callback support requires CONFIG_SCHED_WORKQUEUE"
#endif #endif
#ifdef CONFIG_SDIO_DMA
# define CONFIG_SDCARD_DMAPRIO DMA_SCR_PRIVERYHI
# if (CONFIG_SDCARD_DMAPRIO & ~DMA_SCR_PL_MASK) != 0
# error "Illegal value for CONFIG_SDCARD_DMAPRIO"
# endif
#endif
#if !defined(CONFIG_DEBUG_FS) || !defined(CONFIG_DEBUG) #if !defined(CONFIG_DEBUG_FS) || !defined(CONFIG_DEBUG)
# undef CONFIG_DEBUG_SDIO # undef CONFIG_DEBUG_SDIO
#endif #endif

View File

@ -2433,6 +2433,7 @@ static int adc_ioctl(FAR struct adc_dev_s *dev, int cmd, unsigned long arg)
ret = -ENOTTY; ret = -ENOTTY;
} }
UNUSED(priv);
return ret; return ret;
} }