]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
iio: dac: stm32-dac-core: add missing select REGMAP_MMIO in Kconfig
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Thu, 3 Oct 2024 16:49:40 +0000 (18:49 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 6 Oct 2024 15:31:36 +0000 (16:31 +0100)
This driver makes use of regmap_mmio, but does not select the required
module.
Add the missing 'select REGMAP_MMIO'.

Fixes: 4d4b30526eb8 ("iio: dac: add support for stm32 DAC")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://patch.msgid.link/20241003-ad2s1210-select-v1-8-4019453f8c33@gmail.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/dac/Kconfig

index 25f6d1fd62df92215ffc88131560cf2fc2bd79de..45e337c6d2566ec5cd7df53734a7be5c658cd986 100644 (file)
@@ -489,6 +489,7 @@ config STM32_DAC
 
 config STM32_DAC_CORE
        tristate
+       select REGMAP_MMIO
 
 config TI_DAC082S085
        tristate "Texas Instruments 8/10/12-bit 2/4-channel DAC driver"