From 2ae96896787c8ce09833fee8e20b19d1493e985c Mon Sep 17 00:00:00 2001 From: Chuck Jordan Date: Tue, 24 May 2016 00:38:42 -0700 Subject: [PATCH] adc: some symbols didn't have depends on ADC and should I noticed that even though I was building w/o ADC, that some ADC config symbols were still defined. Adding some "depends on" to clean that up. Change-Id: Ie73d131ba1ad63b5f3d920e17b4c7b5a0d785609 Signed-off-by: Chuck Jordan --- drivers/adc/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/adc/Kconfig b/drivers/adc/Kconfig index 4b10708d327..3aa03dfd24c 100644 --- a/drivers/adc/Kconfig +++ b/drivers/adc/Kconfig @@ -35,6 +35,7 @@ config ADC_DEBUG config ADC_INIT_PRIORITY int + depends on ADC default 80 prompt "Init priority" help @@ -42,10 +43,12 @@ config ADC_INIT_PRIORITY config ADC_0_NAME string "ADC Driver's name" + depends on ADC default "ADC_0" config ADC_0_IRQ_PRI int + depends on ADC prompt "ADC interrupt priority" default 2