Skip to content

Commit e975d95

Browse files
committed
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]>
1 parent 7164122 commit e975d95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/regulator/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1636,7 +1636,7 @@ config REGULATOR_UNIPHIER
16361636

16371637
config REGULATOR_RZG2L_VBCTRL
16381638
tristate "Renesas RZ/G2L USB VBUS regulator driver"
1639-
depends on ARCH_RZG2L || COMPILE_TEST
1639+
depends on RESET_RZG2L_USBPHY_CTRL || COMPILE_TEST
16401640
depends on OF
16411641
select REGMAP_MMIO
16421642
default RESET_RZG2L_USBPHY_CTRL

0 commit comments

Comments
 (0)