diff options
author | Richard Weinberger <richard@nod.at> | 2015-03-16 22:27:10 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-03-28 11:59:31 +0000 |
commit | bbc45f3ab78edb8c97e563ddd351f851da47dab1 (patch) | |
tree | 7e8964a8c2558ceec009e2feec72f9e202f72637 /drivers/iio | |
parent | 3d8bbe243dc7418b4b2eadcbf5693887d076a521 (diff) |
iio/adc/cc10001_adc.c: Fix !HAS_IOMEM build
Fixes:
drivers/built-in.o: In function `cc10001_adc_probe':
cc10001_adc.c:(.text+0x412e92): undefined reference to `devm_ioremap_resource'
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r-- | drivers/iio/adc/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 202daf889be2..46379b1fb25b 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -137,7 +137,8 @@ config AXP288_ADC config CC10001_ADC tristate "Cosmic Circuits 10001 ADC driver" - depends on HAS_IOMEM || HAVE_CLK || REGULATOR + depends on HAVE_CLK || REGULATOR + depends on HAS_IOMEM select IIO_BUFFER select IIO_TRIGGERED_BUFFER help |