summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2018-08-16 13:15:43 +0200
committerchrome-bot <chrome-bot@chromium.org>2018-10-19 12:19:47 -0700
commit45d2cb86e8235eed724e88dfea6f376c5ffcb351 (patch)
tree9a2d307a874548d9c2a44aafc322a4f6a43cbdcd
parent9fda2eea0861911537922ce3e45b118297f5030d (diff)
downloadchrome-ec-45d2cb86e8235eed724e88dfea6f376c5ffcb351.tar.gz
chip/stm32/usb_hw: include stdint.h and stddef.h
It uses it, and its includers shouldn't need to know that. BUG=none BRANCH=none TEST=none Change-Id: Icf13d558e4d0772841a06313b352f88d40f1e165 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://chromium-review.googlesource.com/1177709 Commit-Ready: Patrick Georgi <pgeorgi@chromium.org> Tested-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-by: Jonathan Brandmeyer <jbrandmeyer@chromium.org>
-rw-r--r--chip/stm32/usb_hw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chip/stm32/usb_hw.h b/chip/stm32/usb_hw.h
index fb7b5d546b..be2a88661e 100644
--- a/chip/stm32/usb_hw.h
+++ b/chip/stm32/usb_hw.h
@@ -6,6 +6,9 @@
#ifndef __CROS_EC_USB_HW_H
#define __CROS_EC_USB_HW_H
+#include <stddef.h>
+#include <stdint.h>
+
/* Event types for the endpoint event handler. */
enum usb_ep_event {
USB_EVENT_RESET,