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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/58832 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
parent
940953e823
commit
5826c591bf
|
@ -1,5 +1,8 @@
|
||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
/* 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 to hold all USB-C mux related variables */
|
||||||
struct usbc_mux_info {
|
struct usbc_mux_info {
|
||||||
bool dp; /* DP connected */
|
bool dp; /* DP connected */
|
||||||
|
@ -67,3 +70,5 @@ struct usbc_ops {
|
||||||
};
|
};
|
||||||
|
|
||||||
const struct usbc_ops *usbc_get_ops(void);
|
const struct usbc_ops *usbc_get_ops(void);
|
||||||
|
|
||||||
|
#endif /* __USBC_MUX_H__ */
|
||||||
|
|
Loading…
Reference in New Issue