iio:filter:admv8818: select REGMAP_SPI for ADMV8818
authorWang ShaoBo <bobo.shaobowang@huawei.com>
Sun, 20 Mar 2022 05:54:57 +0000 (13:54 +0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 4 Apr 2022 08:19:01 +0000 (09:19 +0100)
commitd85cce86a86746354fffb688dd134609c8277adc
tree9a78773f3bc21e61cffd29507dd67c3d2e50aa8d
parentb55b38f7cc12da3b9ef36e7a3b7f8f96737df4d5
iio:filter:admv8818: select REGMAP_SPI for ADMV8818

admv8818 driver needs __devm_regmap_init_spi() which is defined
when CONFIG_REGMAP_SPI is set and struct regmap_config when
CONFIG_REGMAP is set, so automatically select CONFIG_REGMAP_SPI
which also sets CONFIG_REGMAP.

Fixes: f34fe888ad05 ("iio:filter:admv8818: add support for ADMV8818")
Signed-off-by: Wang ShaoBo <bobo.shaobowang@huawei.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20220320055457.254983-1-bobo.shaobowang@huawei.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/filter/Kconfig