diff options
author | Mary Ruthven <mruthven@chromium.org> | 2021-11-09 13:32:02 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-11-18 04:45:55 +0000 |
commit | 2619aa3695c764a52328216c1bc97869a2bd17e7 (patch) | |
tree | e7191320c444056d8f6baef2c9e7e9121df321a1 /chip/g | |
parent | 040ae0f9c3eb4fbb5521b04ac08ee6ee2ece2ab8 (diff) | |
download | chrome-ec-2619aa3695c764a52328216c1bc97869a2bd17e7.tar.gz |
Revert "Cleanup: Correct GPIO alternate function parameter"
This reverts commit 3b390264a415ce121a8c6f8db9fa9c42c647aaec.
BUG=b:200823466
TEST=make buildall -j
Change-Id: If339cc98bd345a8bb5994bf2b541ff3ee2420be6
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3273192
Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Diffstat (limited to 'chip/g')
-rw-r--r-- | chip/g/gpio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chip/g/gpio.c b/chip/g/gpio.c index 40e332c73c..3704d1b1bf 100644 --- a/chip/g/gpio.c +++ b/chip/g/gpio.c @@ -195,8 +195,7 @@ void gpio_set_wakepin(enum gpio_signal signal, uint32_t flags) configure_wakepin(dio_mask, dio_wake_flags); } -void gpio_set_alternate_function(uint32_t port, uint32_t mask, - enum gpio_alternate_func func) +void gpio_set_alternate_function(uint32_t port, uint32_t mask, int func) { /* This HW feature is not present in the Cr50 ARM core */ } |