diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-06-27 15:13:32 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-01 15:17:20 +0000 |
commit | 637c40a1b1cb532aad59f0d65ccdf3b8091b5a4d (patch) | |
tree | c7ae3246e79b47ca823ae730836837a5e230f568 /include/mkbp_event.h | |
parent | 59d6cc9903c8138d307824a5a1e7fadb64abb2dd (diff) | |
download | chrome-ec-637c40a1b1cb532aad59f0d65ccdf3b8091b5a4d.tar.gz |
include/mkbp_event.h: Format with clang-format
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: Id3442cff02f523e60eea9623b9a26f111d3e2cb8
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730354
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'include/mkbp_event.h')
-rw-r--r-- | include/mkbp_event.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/mkbp_event.h b/include/mkbp_event.h index d9237dd33b..8173242497 100644 --- a/include/mkbp_event.h +++ b/include/mkbp_event.h @@ -51,11 +51,10 @@ struct mkbp_event_source { #ifdef CONFIG_PLATFORM_EC_MKBP_EVENT #include "zephyr_mkbp_event.h" #else -#define DECLARE_EVENT_SOURCE(type, func) \ - const struct mkbp_event_source __keep \ - __no_sanitize_address _evt_src_##type \ - __attribute__((section(".rodata.evtsrcs"))) \ - = {type, func} +#define DECLARE_EVENT_SOURCE(type, func) \ + const struct mkbp_event_source __keep __no_sanitize_address \ + _evt_src_##type \ + __attribute__((section(".rodata.evtsrcs"))) = { type, func } #endif -#endif /* __CROS_EC_MKBP_EVENT_H */ +#endif /* __CROS_EC_MKBP_EVENT_H */ |