diff options
| author | Andrew Davis <[email protected]> | 2025-05-16 14:17:22 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2025-05-20 09:25:08 +0000 |
| commit | c5a219395b4e6312102a505bfe73aac8f8bada8c (patch) | |
| tree | 32ca0c36b3da8e964c263756e3b1ec6eda3ef504 /rust/helpers/platform.c | |
| parent | regcache: Use sort()'s default swap() implementation (diff) | |
| download | kernel-c5a219395b4e6312102a505bfe73aac8f8bada8c.tar.gz kernel-c5a219395b4e6312102a505bfe73aac8f8bada8c.zip | |
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]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
