summaryrefslogtreecommitdiff
path: root/components/drivers/regulator/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'components/drivers/regulator/SConscript')
-rwxr-xr-xcomponents/drivers/regulator/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/drivers/regulator/SConscript b/components/drivers/regulator/SConscript
index 70245b9c49..9d5e0fbb18 100755
--- a/components/drivers/regulator/SConscript
+++ b/components/drivers/regulator/SConscript
@@ -19,6 +19,9 @@ if GetDepend(['RT_REGULATOR_FIXED']):
if GetDepend(['RT_REGULATOR_GPIO']):
src += ['regulator-gpio.c']
+if GetDepend(['RT_REGULATOR_PWM']):
+ src += ['regulator-pwm.c']
+
if GetDepend(['RT_REGULATOR_SCMI']):
src += ['regulator-scmi.c']