summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2016-03-04 16:10:32 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-03-11 15:17:33 -0800
commit1c0b8dc816980061dfd048d62eff8a7f4bc594c6 (patch)
tree5daaa7f4e159bfc43d065b8288df8d9a0051db21
parent5ed0b29cec3e76cd5199f20776302b74a1b62e9d (diff)
downloadchrome-ec-1c0b8dc816980061dfd048d62eff8a7f4bc594c6.tar.gz
Cr50: cleanup: put macro args inside parens
Just to be safe... BUG=none BRANCH=none TEST=make buildall; try on Cr50 board Change-Id: I5b605a50f85dbfeb404fa93b59d795b7f8a0d5c5 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/332197 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
-rw-r--r--board/cr50/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cr50/board.c b/board/cr50/board.c
index 5ebd66e089..3f951e8b41 100644
--- a/board/cr50/board.c
+++ b/board/cr50/board.c
@@ -25,7 +25,7 @@
* two GPIOs to the same input and configure each one for a separate edge.
*/
#define GPIO_INT(name, pin, flags, signal) \
- BUILD_ASSERT((flags & GPIO_INT_BOTH) != GPIO_INT_BOTH);
+ BUILD_ASSERT(((flags) & GPIO_INT_BOTH) != GPIO_INT_BOTH);
#include "gpio.wrap"
static void init_pmu(void)