]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mux: mmio: Fix missing CONFIG_REGMAP_MMIO
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 16 Jun 2025 09:38:42 +0000 (11:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Jul 2025 14:27:08 +0000 (16:27 +0200)
MMIO mux uses now regmap_init_mmio(), so one way or another
CONFIG_REGMAP_MMIO should be enabled, because there are no stubs for
!REGMAP_MMIO case:

  ERROR: modpost: "__regmap_init_mmio_clk" [drivers/mux/mux-mmio.ko] undefined!

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202505150312.dYbBqUhG-lkp@intel.com/
Fixes: 61de83fd8256 ("mux: mmio: Do not use syscon helper to build regmap")
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20250521152354.92720-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250616093841.31985-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mux/Kconfig

index 80f015cf6e54f635bdae45b791c0c51a73222bfc..c68132e38138ef6e6cb850fc5a4a8d98e72c4162 100644 (file)
@@ -48,6 +48,7 @@ config MUX_GPIO
 config MUX_MMIO
        tristate "MMIO/Regmap register bitfield-controlled Multiplexer"
        depends on OF
+       select REGMAP_MMIO
        help
          MMIO/Regmap register bitfield-controlled Multiplexer controller.