diff options
author | Nicolas Boichat <drinkcat@google.com> | 2017-03-14 11:03:11 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-03-16 11:25:50 -0700 |
commit | 391056f9eea24cf19bc7d1571d7db18a3d0ae683 (patch) | |
tree | f1bcebbf50779cf8acbada01400d7a1bc593f21b /include/usb_descriptor.h | |
parent | 236a70f726ae0a1f0e77312eb3e86418ca1eeda1 (diff) | |
download | chrome-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 'include/usb_descriptor.h')
-rw-r--r-- | include/usb_descriptor.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/usb_descriptor.h b/include/usb_descriptor.h index c2df5f53f9..3c5352e452 100644 --- a/include/usb_descriptor.h +++ b/include/usb_descriptor.h @@ -10,9 +10,6 @@ #include <stddef.h> /* for wchar_t */ -#include "usb_api.h" -#include "usb_hw.h" - #define USB_MAX_PACKET_SIZE 64 /* USB 2.0 chapter 9 definitions */ |