diff --git a/src/soc/amd/common/block/xhci/elog.c b/src/soc/amd/common/block/xhci/elog.c index 64a2c4811f..b098e6f4ef 100644 --- a/src/soc/amd/common/block/xhci/elog.c +++ b/src/soc/amd/common/block/xhci/elog.c @@ -103,7 +103,7 @@ void soc_xhci_log_wake_events(void) .controller = i_xhci, }; - const struct resource *res = (const struct resource *) &res_store[i_slot].resources[0]; + const struct resource *res = (const struct resource *)(&res_store[i_slot].resources[0]); enum cb_err err = xhci_resource_for_each_supported_usb_cap(res, &context, &xhci_cap_callback);