summaryrefslogtreecommitdiff
path: root/test/usb_pe_drp_noextended.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/usb_pe_drp_noextended.c')
-rw-r--r--test/usb_pe_drp_noextended.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/usb_pe_drp_noextended.c b/test/usb_pe_drp_noextended.c
index 3a1d411633..6108458c9c 100644
--- a/test/usb_pe_drp_noextended.c
+++ b/test/usb_pe_drp_noextended.c
@@ -24,8 +24,11 @@ const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_MAX_COUNT] = {
},
};
-const struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_MAX_COUNT] = { {
- .driver = &mock_usb_mux_driver,
+const struct usb_mux_chain usb_muxes[CONFIG_USB_PD_PORT_MAX_COUNT] = { {
+ .mux =
+ &(const struct usb_mux){
+ .driver = &mock_usb_mux_driver,
+ },
} };
void before_test(void)