diff options
author | Yilun Lin <yllin@google.com> | 2019-01-18 13:39:44 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-01-18 20:05:10 -0800 |
commit | e44b0d6c4bece12b40537bd457c3d1e040a8396d (patch) | |
tree | eb354a10caa45066796d501e26e66242762c293e | |
parent | ccede6a11f3d4287b0e7a49ca1acc25046c45123 (diff) | |
download | chrome-ec-e44b0d6c4bece12b40537bd457c3d1e040a8396d.tar.gz |
mt_scp/ipi: Fix typo in IPI macro check.
TEST=make BOARD=kukui_scp -j
BUG=None
BRANCH=None
Change-Id: I18cef1540fd3fe76269a16edab6c622084417c7e
Signed-off-by: Yilun Lin <yllin@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1420248
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Yilun Lin <yllin@chromium.org>
Reviewed-by: Pi-Hsun Shih <pihsun@chromium.org>
-rw-r--r-- | chip/mt_scp/ipi_chip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/mt_scp/ipi_chip.h b/chip/mt_scp/ipi_chip.h index 528f340bf0..1c027b5d04 100644 --- a/chip/mt_scp/ipi_chip.h +++ b/chip/mt_scp/ipi_chip.h @@ -69,7 +69,7 @@ extern int *ipi_wakeup_table[]; * is_wakeup_src: Declare IPI ID as a wake-up source or not */ #define DECLARE_IPI(_id, handler, is_wakeup_src) \ - struct ipi_num_check1_##ipi { \ + struct ipi_num_check##_id { \ int dummy1[_id < IPI_COUNT ? 1 : -1]; \ int dummy2[is_wakeup_src == 0 || is_wakeup_src == 1 ? 1 : -1]; \ }; \ |