summaryrefslogtreecommitdiff
path: root/zephyr/shim/include/usbc/anx7447_usb_mux.h
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/shim/include/usbc/anx7447_usb_mux.h')
-rw-r--r--zephyr/shim/include/usbc/anx7447_usb_mux.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/zephyr/shim/include/usbc/anx7447_usb_mux.h b/zephyr/shim/include/usbc/anx7447_usb_mux.h
index 874958c04c..7118e222db 100644
--- a/zephyr/shim/include/usbc/anx7447_usb_mux.h
+++ b/zephyr/shim/include/usbc/anx7447_usb_mux.h
@@ -10,13 +10,14 @@
#define ANX7447_USB_MUX_COMPAT analogix_usbc_mux_anx7447
-#define USB_MUX_CONFIG_ANX7447(mux_id) \
- { \
- USB_MUX_COMMON_FIELDS(mux_id), \
- .driver = &anx7447_usb_mux_driver, \
- .hpd_update = COND_CODE_1( \
- DT_PROP(mux_id, hpd_update_enable), \
- (&anx7447_tcpc_update_hpd_status), (NULL)), \
+/* clang-format off */
+#define USB_MUX_CONFIG_ANX7447(mux_id) \
+ { \
+ USB_MUX_COMMON_FIELDS(mux_id), \
+ .driver = &anx7447_usb_mux_driver, \
+ .hpd_update = COND_CODE_1(DT_PROP(mux_id, hpd_update_enable), \
+ (&anx7447_tcpc_update_hpd_status), (NULL)), \
}
+/* clang-format on */
#endif /* __ZEPHYR_SHIM_ANX7447_USB_MUX_H */