diff options
author | Caveh Jalali <caveh@chromium.org> | 2021-06-24 00:55:51 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-26 00:23:16 +0000 |
commit | 60fab5b6ff0cde750b00962fd98f33799db84f91 (patch) | |
tree | d671caa41f533becbf14dacede8945ee8517f9b3 | |
parent | 8fb6fbd482f3acbe403e443b45b77e2ecddd18a0 (diff) | |
download | chrome-ec-60fab5b6ff0cde750b00962fd98f33799db84f91.tar.gz |
tcpm: Do not include gpio.h
This removes the inclusion of gpio.h from tcpm.h. There's really nothing
GPIO related in this file.
BRANCH=none
BUG=b:192010784
TEST=buildall passes
Change-Id: Ia244e36f6137e2c170089ab0e08db7c1902b7e15
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2987160
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Boris Mittelberg <bmbm@google.com>
-rw-r--r-- | include/driver/tcpm/tcpm.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/driver/tcpm/tcpm.h b/include/driver/tcpm/tcpm.h index d76b187464..2bd14c0f5c 100644 --- a/include/driver/tcpm/tcpm.h +++ b/include/driver/tcpm/tcpm.h @@ -10,7 +10,6 @@ #include "common.h" #include "ec_commands.h" -#include "gpio.h" #include "i2c.h" #include "usb_pd_tcpm.h" #include "util.h" @@ -410,7 +409,7 @@ static inline int tcpm_set_frs_enable(int port, int enable) } #endif /* defined(CONFIG_USB_PD_FRS_TCPC) */ -#else +#else /* CONFIG_USB_PD_TCPC */ /** * Initialize TCPM driver and wait for TCPC readiness. @@ -543,7 +542,7 @@ int tcpm_transmit(int port, enum tcpm_transmit_type type, uint16_t header, */ void tcpc_alert(int port); -#endif +#endif /* CONFIG_USB_PD_TCPC */ /** * Gets the next waiting RX message. |