summaryrefslogtreecommitdiff
path: root/zephyr/shim/src/usb_muxes.c
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/shim/src/usb_muxes.c')
-rw-r--r--zephyr/shim/src/usb_muxes.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/zephyr/shim/src/usb_muxes.c b/zephyr/shim/src/usb_muxes.c
index 3f81e97787..b3854e2ca8 100644
--- a/zephyr/shim/src/usb_muxes.c
+++ b/zephyr/shim/src/usb_muxes.c
@@ -3,16 +3,11 @@
* found in the LICENSE file.
*/
-#include <zephyr/devicetree.h>
-#include <zephyr/sys/util_macro.h>
#include "usb_mux.h"
#include "usbc/usb_muxes.h"
-/**
- * This prevents creating struct usb_mux usb_muxes[] for platforms that didn't
- * migrate USB mux configuration to DTS yet.
- */
-#if DT_HAS_COMPAT_STATUS_OKAY(cros_ec_usb_mux_chain)
+#include <zephyr/devicetree.h>
+#include <zephyr/sys/util_macro.h>
/**
* @brief Check if @p mux_id is not part of @p chain_id or if @p chain_id USBC
@@ -95,5 +90,3 @@ BUILD_ASSERT(ARRAY_SIZE(usb_muxes) == CONFIG_USB_PD_PORT_MAX_COUNT);
* MAYBE_CONST struct usb_mux USB_MUX_NODE_<node_id> = { ... };
*/
USB_MUX_FOREACH_MUX(USB_MUX_DEFINE)
-
-#endif /* #if DT_HAS_COMPAT_STATUS_OKAY(cros_ec_usb_mux_chain) */