On March 12, 2014 8:46:19 PM GMT+00:00, Hartmut Knaack <knaack.h@xxxxxx> wrote: >Jonathan Cameron schrieb: >> This simple driver is ready to move out of staging. >> >> Signed-off-by: Jonathan Cameron <jic23@xxxxxxxxxx> >> --- >> drivers/iio/adc/Kconfig | 8 + >> drivers/iio/adc/Makefile | 1 + >> drivers/iio/adc/spear_adc.c | 429 >++++++++++++++++++++++++++++++++++++ >> drivers/staging/iio/adc/Kconfig | 8 - >> drivers/staging/iio/adc/Makefile | 1 - >> drivers/staging/iio/adc/spear_adc.c | 429 >------------------------------------ >> 6 files changed, 438 insertions(+), 438 deletions(-) >> >> diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig >> index 5553206..2e3e1b0 100644 >> --- a/drivers/iio/adc/Kconfig >> +++ b/drivers/iio/adc/Kconfig >> @@ -164,6 +164,14 @@ config NAU7802 >> To compile this driver as a module, choose M here: the >> module will be called nau7802. >> >> +config SPEAR_ADC >> + tristate "ST SPEAr ADC" >> + depends on PLAT_SPEAR || COMPILE_TEST >Are you sure to keep COMPILE_TEST in? Yes. Allows those without a spear specific config to build test. Prevents a lot of bugs sneaking in for more obscure platforms. We do this for any drivers that don't require any other support from the platform. >> + depends on HAS_IOMEM >> + help >> + Say yes here to build support for the integrated ADC inside the >> + ST SPEAr SoC. Provides direct access via sysfs. >> + >> config TI_ADC081C >> tristate "Texas Instruments ADC081C021/027" >> depends on I2C >> -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html