summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2021-10-07 18:59:05 +0000
committerCommit Bot <commit-bot@chromium.org>2021-10-11 19:15:35 +0000
commit187f9155f684d0aeda4546bf04451ae8825f2de8 (patch)
tree66c599da874c38e293d82541cb5960eae5093dd2 /Makefile.rules
parentea0cc2a17e63a07f0a4c97760292778916b2e41d (diff)
downloadchrome-ec-187f9155f684d0aeda4546bf04451ae8825f2de8.tar.gz
tree: Use correct enum when calling button_disable_gpio
When building with clang, it warns: board/puff/board.c:484:23: error: implicit conversion from enumeration type 'enum gpio_signal' to different enumeration type 'enum button' [-Werror,-Wenum-conversion] button_disable_gpio(GPIO_EC_RECOVERY_BTN_ODL); button_disable_gpio() takes an "enum button", not "enum gpio_signal". BRANCH=none BUG=b:172020503 TEST=make CC=arm-none-eabi-clang BOARD=puff Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: Ic8347e4d6cda0fde824c9edf1979f7f5197e3db4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3213110 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Andrew McRae <amcrae@google.com>
Diffstat (limited to 'Makefile.rules')
0 files changed, 0 insertions, 0 deletions