summaryrefslogtreecommitdiff
path: root/chip/stm32/usb-stream.c
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@google.com>2017-03-14 11:03:11 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-03-16 11:25:50 -0700
commit391056f9eea24cf19bc7d1571d7db18a3d0ae683 (patch)
treef1bcebbf50779cf8acbada01400d7a1bc593f21b /chip/stm32/usb-stream.c
parent236a70f726ae0a1f0e77312eb3e86418ca1eeda1 (diff)
downloadchrome-ec-391056f9eea24cf19bc7d1571d7db18a3d0ae683.tar.gz
usb: Cleanup headers
Let's split the usb headers in 3 different parts, instead of having usb_descriptor.h pull in usb_hw.h and usb_api.h. - usb_api.h: EC functions related to usb (e.g. connect/disconnect) - usb_descriptor.h: common USB names and structures - usb_hw.h: Functions required for interactive with EC's USB HW BRANCH=none BUG=b:35587171 TEST=make buildall -j Change-Id: I37ead61e3be5e7ae464f1c9137cf02eaab0ff92e Reviewed-on: https://chromium-review.googlesource.com/454861 Commit-Ready: Nicolas Boichat <drinkcat@chromium.org> Tested-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'chip/stm32/usb-stream.c')
-rw-r--r--chip/stm32/usb-stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/usb-stream.c b/chip/stm32/usb-stream.c
index d077cb553b..45c57e6ab1 100644
--- a/chip/stm32/usb-stream.c
+++ b/chip/stm32/usb-stream.c
@@ -12,7 +12,7 @@
#include "task.h"
#include "timer.h"
#include "util.h"
-#include "usb_descriptor.h"
+#include "usb_hw.h"
#include "usb-stream.h"
static size_t rx_read(struct usb_stream_config const *config)