iio: adc: Fix build error of missing devm_ioremap_resource on UM
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 4 Mar 2016 01:05:26 +0000 (10:05 +0900)
committerJonathan Cameron <jic23@kernel.org>
Sat, 5 Mar 2016 18:48:14 +0000 (18:48 +0000)
commite84a41d5db891eab6f1f4a2625bb97f3c6415eee
treeb36594f06bab350b0226a141b826a8e6b03b66e0
parentc816d9e7a57bd436b2cff8f48b0e8cff128f05db
iio: adc: Fix build error of missing devm_ioremap_resource on UM

The devres.o gets linked if HAS_IOMEM is present so on ARCH=um
allyesconfig (COMPILE_TEST) failed with:

drivers/built-in.o: In function `at91_adc_probe':
at91-sama5d2_adc.c:(.text+0x48f548): undefined reference to `devm_ioremap_resource'

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/Kconfig