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>
Mon, 28 Mar 2016 08:51:19 +0000 (09:51 +0100)
commit8a665d2f2f837664e214863f2cbf7ec17f34ae56
tree75ef88038cffa75083cadf49c4a0c629a4d66245
parent1d02369dba2cd9db110f0f35d9a777ee691e498b
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