summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTing Shen <phoenixshen@google.com>2023-01-13 15:11:08 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-01-13 15:45:40 +0000
commitd19e022401a164a168c3de99d5eb2af8be293d08 (patch)
treeef02923322faae9354c5d5106e3c87d4e92388fa
parent59464159ceb76c39dbcbb057acdafd19cc794e17 (diff)
downloadchrome-ec-d19e022401a164a168c3de99d5eb2af8be293d08.tar.gz
usb_hid_touchpad: add missing headers
Add header file for the definition of uintXX_t and __packed. BUG=none TEST=`make buildall` BRANCH=none Change-Id: I91de127fcb0e4042a387f991c4eef6df526058a6 Signed-off-by: Ting Shen <phoenixshen@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4163829 Auto-Submit: Ting Shen <phoenixshen@chromium.org> Tested-by: Eric Yilun Lin <yllin@google.com> Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com> Commit-Queue: Eric Yilun Lin <yllin@google.com> Reviewed-by: Eric Yilun Lin <yllin@google.com>
-rw-r--r--include/usb_hid_touchpad.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/usb_hid_touchpad.h b/include/usb_hid_touchpad.h
index 23c16a0201..0764e32643 100644
--- a/include/usb_hid_touchpad.h
+++ b/include/usb_hid_touchpad.h
@@ -8,6 +8,8 @@
#ifndef __CROS_EC_USB_HID_TOUCHPAD_H
#define __CROS_EC_USB_HID_TOUCHPAD_H
+#include "common.h"
+
#define USB_HID_TOUCHPAD_TIMESTAMP_UNIT 100 /* usec */
#define REPORT_ID_TOUCHPAD 0x01