summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/host/usb_pd_policy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/host/usb_pd_policy.c b/board/host/usb_pd_policy.c
index 1ea28dcbe9..23285f4838 100644
--- a/board/host/usb_pd_policy.c
+++ b/board/host/usb_pd_policy.c
@@ -26,13 +26,13 @@ const uint32_t pd_snk_pdo[] = {
};
const int pd_snk_pdo_cnt = ARRAY_SIZE(pd_snk_pdo);
-int pd_set_power_supply_ready(int port)
+test_mockable int pd_set_power_supply_ready(int port)
{
/* Not implemented */
return EC_SUCCESS;
}
-void pd_power_supply_reset(int port)
+test_mockable void pd_power_supply_reset(int port)
{
/* Not implemented */
}