summaryrefslogtreecommitdiff
path: root/include/driver/tcpm
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2021-01-21 03:43:29 -0800
committerCommit Bot <commit-bot@chromium.org>2021-02-01 18:48:50 +0000
commitae55d5c3cbc70dac5ac52cf79fbedb92958398f8 (patch)
treed79854ebf5da17d29f98d7b523cc5a36558339bb /include/driver/tcpm
parent4202400f14c6bd4239834c1c3774333c403ab0e9 (diff)
downloadchrome-ec-ae55d5c3cbc70dac5ac52cf79fbedb92958398f8.tar.gz
ps8xxx: add forward declare 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: I647c11b86dbed180bdd025063468ecdb651fd8a7 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2654738 Reviewed-by: Simon Glass <sjg@chromium.org> Commit-Queue: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/driver/tcpm')
-rw-r--r--include/driver/tcpm/ps8xxx_public.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/driver/tcpm/ps8xxx_public.h b/include/driver/tcpm/ps8xxx_public.h
index e2393fa5d1..f12e009670 100644
--- a/include/driver/tcpm/ps8xxx_public.h
+++ b/include/driver/tcpm/ps8xxx_public.h
@@ -8,6 +8,8 @@
#ifndef __CROS_EC_DRIVER_TCPM_PS8XXX_PUBLIC_H
#define __CROS_EC_DRIVER_TCPM_PS8XXX_PUBLIC_H
+struct usb_mux;
+
/* I2C interface */
#define PS8751_I2C_ADDR1_P1_FLAGS 0x09
#define PS8751_I2C_ADDR1_P2_FLAGS 0x0A