summaryrefslogtreecommitdiff
path: root/chip/nrf51/gpio.c
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2021-10-15 20:10:00 +0000
committerCommit Bot <commit-bot@chromium.org>2021-11-08 23:04:47 +0000
commit04e6a2380e1cbafb169c7194f0fc58d460193ea6 (patch)
treee745617c2bd08b81de129fa1da176a974fd9e7e1 /chip/nrf51/gpio.c
parentd1378e44168c901e5c5369fb966385da0dd6c259 (diff)
downloadchrome-ec-04e6a2380e1cbafb169c7194f0fc58d460193ea6.tar.gz
tree: Make DECLARE_IRQ routine static
For consistency, make all IRQ handler routines static. BRANCH=none BUG=b:172020503 TEST=make buildall -j Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: I43dc4dd0a8cd593d6eb761768acc5c7b6b95e22b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3227265 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'chip/nrf51/gpio.c')
-rw-r--r--chip/nrf51/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/nrf51/gpio.c b/chip/nrf51/gpio.c
index 53694b5a74..02f8dc8b50 100644
--- a/chip/nrf51/gpio.c
+++ b/chip/nrf51/gpio.c
@@ -284,7 +284,7 @@ int gpio_disable_interrupt(enum gpio_signal signal)
/*
* Clear interrupt and run handler.
*/
-void gpio_interrupt(void)
+static void gpio_interrupt(void)
{
const struct gpio_info *g;
int i;