summaryrefslogtreecommitdiff
path: root/chip/stm32/usb_dwc.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/stm32/usb_dwc.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/stm32/usb_dwc.c')
-rw-r--r--chip/stm32/usb_dwc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/usb_dwc.c b/chip/stm32/usb_dwc.c
index f4ee89f1f0..0028806432 100644
--- a/chip/stm32/usb_dwc.c
+++ b/chip/stm32/usb_dwc.c
@@ -999,7 +999,7 @@ static void usb_enumdone(void)
}
-void usb_interrupt(void)
+static void usb_interrupt(void)
{
uint32_t status = GR_USB_GINTSTS & GR_USB_GINTMSK;
uint32_t oepint = status & GINTSTS(OEPINT);