From: Lars-Peter Clausen Date: Sat, 12 Oct 2013 13:55:00 +0000 (+0100) Subject: staging:iio:mxs-lradc: Select STMP_DEVICE X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2cd1e1d8c19adee184ce4c99b0dd586b71892837;p=linux-beck.git staging:iio:mxs-lradc: Select STMP_DEVICE The MXS ADC driver uses the stmp_reset_block() which is only provided when the STMP_DEVICE Kconfig symbol is selected. Hence the driver should select this symbol. So far this has not been a problem since the driver depends on ARCH_MXS, which already selects STMP_DEVICE, but will become necessary once we allow the driver to be built when COMPILE_TEST is selected. Signed-off-by: Lars-Peter Clausen Cc: Marek Vasut Signed-off-by: Jonathan Cameron --- diff --git a/drivers/staging/iio/adc/Kconfig b/drivers/staging/iio/adc/Kconfig index cabc7a367db5..52d92a1cad45 100644 --- a/drivers/staging/iio/adc/Kconfig +++ b/drivers/staging/iio/adc/Kconfig @@ -114,6 +114,7 @@ config LPC32XX_ADC config MXS_LRADC tristate "Freescale i.MX23/i.MX28 LRADC" depends on ARCH_MXS + select STMP_DEVICE select IIO_BUFFER select IIO_TRIGGERED_BUFFER help