aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/usb/typec/ucsi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/typec/ucsi/Makefile')
-rw-r--r--drivers/usb/typec/ucsi/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/typec/ucsi/Makefile b/drivers/usb/typec/ucsi/Makefile
index b35e15a1f02c..8a8eb5cb8e0f 100644
--- a/drivers/usb/typec/ucsi/Makefile
+++ b/drivers/usb/typec/ucsi/Makefile
@@ -7,6 +7,10 @@ typec_ucsi-y := ucsi.o
typec_ucsi-$(CONFIG_TRACING) += trace.o
+ifneq ($(CONFIG_POWER_SUPPLY),)
+ typec_ucsi-y += psy.o
+endif
+
ifneq ($(CONFIG_TYPEC_DP_ALTMODE),)
typec_ucsi-y += displayport.o
endif