On 02/01/16 13:04, Vegard Nossum wrote: > Ran into this on UML: > > drivers/built-in.o: In function `vf610_adc_probe': > drivers/iio/adc/vf610_adc.c:744: undefined reference to `devm_ioremap_resource' > > devm_ioremap_resource() is defined only when HAS_IOMEM is selected. > > Signed-off-by: Vegard Nossum <vegard.nossum@xxxxxxxxxx> > Cc: Jonathan Cameron <jic23@xxxxxxxxxx> > Cc: Hartmut Knaack <knaack.h@xxxxxx> > Cc: Lars-Peter Clausen <lars@xxxxxxxxxx> > Cc: Peter Meerwald <pmeerw@xxxxxxxxxx> > Cc: linux-iio@xxxxxxxxxxxxxxx Applied to the fixes-togreg branch of iio.git and marked for stable. Thanks, Jonathan > --- > drivers/iio/adc/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig > index 7868c74..1e7aded 100644 > --- a/drivers/iio/adc/Kconfig > +++ b/drivers/iio/adc/Kconfig > @@ -372,6 +372,7 @@ config TWL6030_GPADC > config VF610_ADC > tristate "Freescale vf610 ADC driver" > depends on OF > + depends on HAS_IOMEM > select IIO_BUFFER > select IIO_TRIGGERED_BUFFER > help > -- 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