Alan Huang has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/58832 )
Change subject: device/include: Fix potential build error ......................................................................
device/include: Fix potential build error
Add include guard for usbc_mux.h
BUG=none BRANCH=none TEST=Build Pass
Signed-off-by: Alan Huang alan-huang@quanta.corp-partner.google.com Change-Id: I47988edee84d17f0a15cfda1ac6f0187326bd331 --- M src/include/device/usbc_mux.h 1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/32/58832/1
diff --git a/src/include/device/usbc_mux.h b/src/include/device/usbc_mux.h index e395d2d..0648a74 100644 --- a/src/include/device/usbc_mux.h +++ b/src/include/device/usbc_mux.h @@ -1,5 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef __USBC_MUX_H__ +#define __USBC_MUX_H__ + /* struct to hold all USB-C mux related variables */ struct usbc_mux_info { bool dp; /* DP connected */ @@ -67,3 +70,5 @@ };
const struct usbc_ops *usbc_get_ops(void); + +#endif /* __USBC_MUX_H__ */