iio: adc: stm32-dfsdm: fix unmet direct dependencies detected
authorFabrice Gasnier <fabrice.gasnier@st.com>
Mon, 15 Apr 2019 13:00:50 +0000 (15:00 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 22 Apr 2019 10:34:15 +0000 (11:34 +0100)
commitba7ecfe43d6bf12e2aa76705c45f7d187ae3d7c0
treecb3b224290b4054bdc67afe6e60a9052d09968e4
parent20c89b4d1dc4e7cc329d00edcaf7a7aa14278557
iio: adc: stm32-dfsdm: fix unmet direct dependencies detected

This fixes unmet direct dependencies seen when CONFIG_STM32_DFSDM_ADC
is selected:

WARNING: unmet direct dependencies detected for IIO_BUFFER_HW_CONSUMER
  Depends on [n]: IIO [=y] && IIO_BUFFER [=n]
  Selected by [y]:
  - STM32_DFSDM_ADC [=y] && IIO [=y] && (ARCH_STM32 [=y] && OF [=y] ||
    COMPILE_TEST [=n])

Fixes: e2e6771c6462 ("IIO: ADC: add STM32 DFSDM sigma delta ADC support")
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/Kconfig