summaryrefslogtreecommitdiff
path: root/chip/host/gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/host/gpio.c')
-rw-r--r--chip/host/gpio.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/chip/host/gpio.c b/chip/host/gpio.c
index c6c415a084..60ef32d22a 100644
--- a/chip/host/gpio.c
+++ b/chip/host/gpio.c
@@ -60,6 +60,11 @@ test_mockable int gpio_enable_interrupt(enum gpio_signal signal)
return EC_SUCCESS;
}
+test_mockable int gpio_clear_pending_interrupt(enum gpio_signal signal)
+{
+ return EC_SUCCESS;
+}
+
test_mockable void gpio_set_flags_by_mask(uint32_t port, uint32_t mask,
uint32_t flags)
{