mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-29 13:23:23 +01:00
regmap: Move selecting for REGMAP_MDIO and REGMAP_IRQ
If either REGMAP_IRQ or REGMAP_MDIO are set then REGMAP is also set. This then enables the selecting of IRQ_DOMAIN or MDIO_BUS from REGMAP based on the above two symbols respectively. This makes it very easy to end up with "circular dependencies". Instead select the IRQ_DOMAIN or MDIO_BUS from the symbols that make use of them. This is almost equivalent to before but makes it less likely to end up with false circular dependency detections. Signed-off-by: Andrew Davis <[email protected]> Reported-by: Krzysztof Kozlowski <[email protected]> Closes: https://lore.kernel.org/r/[email protected]/ Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
1 parent
d30e845b0a
commit
c5a219395b
1 file changed
+2
-2
@@ -6,8 +6,6 @@
|
||||
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)
|
||||
select IRQ_DOMAIN if REGMAP_IRQ
|
||||
select MDIO_BUS if REGMAP_MDIO
|
||||
help
|
||||
Enable support for the Register Map (regmap) access API.
|
||||
|
||||
@@ -58,12 +56,14 @@ config REGMAP_W1
|
||||
|
||||
config REGMAP_MDIO
|
||||
tristate
|
||||
select MDIO_BUS
|
||||
|
||||
config REGMAP_MMIO
|
||||
tristate
|
||||
|
||||
config REGMAP_IRQ
|
||||
bool
|
||||
select IRQ_DOMAIN
|
||||
|
||||
config REGMAP_RAM
|
||||
tristate
|
||||
|
||||
Reference in new issue
Block a user