Skip to content

Commit

Permalink
iio/adc/cc10001_adc.c: Fix !HAS_IOMEM build
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Weinberger authored and Jonathan Cameron committed Mar 28, 2015
1 parent 3d8bbe2 commit bbc45f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/iio/adc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bbc45f3

Please sign in to comment.