]> exis.tech > repos - linux.git/commit
iio: adc: ad7380: select REGMAP
authorSamuel Moelius <samuel.moelius@trailofbits.com>
Tue, 2 Jun 2026 16:45:39 +0000 (16:45 +0000)
committerJonathan Cameron <jic23@kernel.org>
Mon, 29 Jun 2026 22:24:45 +0000 (23:24 +0100)
commit6697091b386a4e2830bdd38512c87a4befff2b32
treeca4c2ce40c22f2aa296d2e8560f1736039837a36
parentdc59e4fea9d83f03bad6bddf3fa2e52491777482
iio: adc: ad7380: select REGMAP

The AD7380 driver uses generic regmap types and APIs. However, its
Kconfig entry does not select REGMAP.

As a result, AD7380 can be enabled from an allnoconfig-derived config
with SPI_MASTER=y while REGMAP remains unset, causing ad7380.o to fail
to build.

Fixes: b095217c104b ("iio: adc: ad7380: new driver for AD7380 ADCs")
Signed-off-by: Samuel Moelius <samuel.moelius@trailofbits.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/Kconfig