diff options
author | Brian Norris <briannorris@chromium.org> | 2016-10-21 16:25:49 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-10-21 21:20:49 -0700 |
commit | 5ab2ffdbe915223effa81ce8112e8636cf8c6084 (patch) | |
tree | fc8864cb80ecf74a3bd6b4e59c91c1dcaffeb844 /chip/stm32/usb_dwc_hw.h | |
parent | c4e1a40e35a7d0f55a6a0bea55a1e325fdd41568 (diff) | |
download | chrome-ec-5ab2ffdbe915223effa81ce8112e8636cf8c6084.tar.gz |
stm32: make usb_iface_request extern
This isn't supposed to be static. And with CL:401421, we noticed that
clang doesn't like this form. So fix this one too.
BRANCH=none
BUG=chromium:658436
TEST=build
Change-Id: Ibd0c5724d5178c5ce8fc8c1b74382aeddd8f744d
Signed-off-by: Brian Norris <briannorris@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/402068
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'chip/stm32/usb_dwc_hw.h')
-rw-r--r-- | chip/stm32/usb_dwc_hw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/usb_dwc_hw.h b/chip/stm32/usb_dwc_hw.h index 01ff3b7e77..81637c3f17 100644 --- a/chip/stm32/usb_dwc_hw.h +++ b/chip/stm32/usb_dwc_hw.h @@ -28,7 +28,7 @@ extern void (*usb_ep_rx[]) (void); extern void (*usb_ep_reset[]) (void); struct usb_setup_packet; /* EP0 Interface handler callbacks */ -static int (*usb_iface_request[]) (struct usb_setup_packet *req); +extern int (*usb_iface_request[]) (struct usb_setup_packet *req); /* True if the HW Rx/OUT FIFO is currently listening. */ |