summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2021-01-21 03:43:44 -0800
committerCommit Bot <commit-bot@chromium.org>2021-02-01 21:26:51 +0000
commit147534a3fdb0aa655f93881666ae2bee5c0eccfc (patch)
tree69f3757383c1980da18b6d5c519c8c232da187eb
parent80218febc125d4da8417a48e6f6252ff9f12d4c9 (diff)
downloadchrome-ec-147534a3fdb0aa655f93881666ae2bee5c0eccfc.tar.gz
bb_retimer: add forward decl for usb_mux
This adds a forward declaration for struct usb_mux used in a function prototype. BRANCH=none BUG=none TEST=buildall passes Change-Id: I81b198c5bacacece565b2ec8797f2672654e4b1c Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2654739 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
-rw-r--r--include/driver/retimer/bb_retimer_public.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/driver/retimer/bb_retimer_public.h b/include/driver/retimer/bb_retimer_public.h
index 69a3b1d851..c13ec67685 100644
--- a/include/driver/retimer/bb_retimer_public.h
+++ b/include/driver/retimer/bb_retimer_public.h
@@ -8,6 +8,8 @@
#ifndef __CROS_EC_DRIVER_RETIMER_BB_RETIMER_PUBLIC_H
#define __CROS_EC_DRIVER_RETIMER_BB_RETIMER_PUBLIC_H
+struct usb_mux;
+
/* Supported USB retimer drivers */
extern const struct usb_mux_driver bb_usb_retimer;