]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
regmap: Enable REGMAP when REGMAP_SLIMBUS is enabled
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 15 Jan 2026 16:24:02 +0000 (17:24 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 15 Jan 2026 18:58:29 +0000 (18:58 +0000)
Invisible symbol REGMAP defaults to y when any of the REGMAP_* symbols
is enabled, effectively auto-enabling it when needed.  However,
REGMAP_SLIMBUS is missing from the list.

Currently this does not cause any issues, as all symbols selecting
REGMAP_SLIMBUS also select REGMAP and/or REGMAP_IRQ.  Add REGMAP_SLIMBUS
to the list for consistency, and to prevent any future issues.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://patch.msgid.link/47872f8f4cf613e9710963bf871c6ac7b2ce81e8.1768494166.git.geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/Kconfig

index ffb2ef488298191a9ec2eb55ac712409a1445230..06d7eb2aac145562332fc701734dff059705b1a0 100644 (file)
@@ -5,7 +5,7 @@
 
 config REGMAP
        bool
-       default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_W1 || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ || REGMAP_SOUNDWIRE || REGMAP_SOUNDWIRE_MBQ || REGMAP_SCCB || REGMAP_I3C || REGMAP_SPI_AVMM || REGMAP_MDIO || REGMAP_FSI)
+       default y if (REGMAP_I2C || REGMAP_SLIMBUS || REGMAP_SPI || REGMAP_SPMI || REGMAP_W1 || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ || REGMAP_SOUNDWIRE || REGMAP_SOUNDWIRE_MBQ || REGMAP_SCCB || REGMAP_I3C || REGMAP_SPI_AVMM || REGMAP_MDIO || REGMAP_FSI)
        help
          Enable support for the Register Map (regmap) access API.