From 5826c591bf2dabe02fda91afde293c4194b4007a Mon Sep 17 00:00:00 2001 From: Alan Huang Date: Tue, 2 Nov 2021 10:26:02 +0800 Subject: 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 Change-Id: I47988edee84d17f0a15cfda1ac6f0187326bd331 Reviewed-on: https://review.coreboot.org/c/coreboot/+/58832 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- src/include/device/usbc_mux.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/include/device/usbc_mux.h b/src/include/device/usbc_mux.h index e395d2dd62..0648a74f66 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 @@ struct usbc_ops { }; const struct usbc_ops *usbc_get_ops(void); + +#endif /* __USBC_MUX_H__ */ -- cgit v1.2.3