mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
iio: add HAS_IOMEM dependency to VF610_ADC
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 <[email protected]> Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
This commit is contained in:
parent
01cc523560
commit
005ce07130
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue