diff options
author | Tom Hughes <tomhughes@chromium.org> | 2021-10-15 20:10:00 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-11-08 23:04:47 +0000 |
commit | 04e6a2380e1cbafb169c7194f0fc58d460193ea6 (patch) | |
tree | e745617c2bd08b81de129fa1da176a974fd9e7e1 /chip/mchp/i2c.c | |
parent | d1378e44168c901e5c5369fb966385da0dd6c259 (diff) | |
download | chrome-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/mchp/i2c.c')
-rw-r--r-- | chip/mchp/i2c.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/chip/mchp/i2c.c b/chip/mchp/i2c.c index 9891f4d41e..2aaef83dfe 100644 --- a/chip/mchp/i2c.c +++ b/chip/mchp/i2c.c @@ -1042,41 +1042,41 @@ static void handle_interrupt(int controller) task_set_event(id, TASK_EVENT_I2C_IDLE); } -void i2c0_interrupt(void) +static void i2c0_interrupt(void) { handle_interrupt(0); } -void i2c1_interrupt(void) +static void i2c1_interrupt(void) { handle_interrupt(1); } -void i2c2_interrupt(void) +static void i2c2_interrupt(void) { handle_interrupt(2); } -void i2c3_interrupt(void) +static void i2c3_interrupt(void) { handle_interrupt(3); } #if defined(CHIP_FAMILY_MEC172X) -void i2c4_interrupt(void) +static void i2c4_interrupt(void) { handle_interrupt(4); } #elif defined(CHIP_FAMILY_MEC152X) -void i2c4_interrupt(void) +static void i2c4_interrupt(void) { handle_interrupt(4); } -void i2c5_interrupt(void) +static void i2c5_interrupt(void) { handle_interrupt(5); } -void i2c6_interrupt(void) +static void i2c6_interrupt(void) { handle_interrupt(6); } -void i2c7_interrupt(void) +static void i2c7_interrupt(void) { handle_interrupt(7); } |