diff options
author | Mark Brown <[email protected]> | 2024-07-26 14:49:41 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-07-26 15:11:25 +0100 |
commit | e975d955c07cbc2cd6a83a5d8235d8373441fdb9 (patch) | |
tree | 164bd1cf455ab176f0410da605c7f3557237afcb | |
parent | 7164122e25b18806f5dce68c8a0bdaa9e4f902a5 (diff) |
regulator: Further restrict RZG2L USB VBCTRL regulator dependencies
Since the regulator can't be used without the USB controller also
tighten the dependency to match, as well as the default.
Reviewed-by: Biju Das <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
-rw-r--r-- | drivers/regulator/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 5be44606ac15..5560dc4db986 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -1636,7 +1636,7 @@ config REGULATOR_UNIPHIER config REGULATOR_RZG2L_VBCTRL tristate "Renesas RZ/G2L USB VBUS regulator driver" - depends on ARCH_RZG2L || COMPILE_TEST + depends on RESET_RZG2L_USBPHY_CTRL || COMPILE_TEST depends on OF select REGMAP_MMIO default RESET_RZG2L_USBPHY_CTRL |