summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-30 14:05:05 -0700
committerCommit Bot <commit-bot@chromium.org>2021-01-15 03:56:30 +0000
commit9d99eb123e96946abf45baed434107f6ff878106 (patch)
treea18f82b42f5c022ef7b59713f7dfce4d839d423a
parentfb3a17c6915e9f9daf0e50d8038cfffa8baf4598 (diff)
downloadchrome-ec-9d99eb123e96946abf45baed434107f6ff878106.tar.gz
volteer: Remove const from tcpc_config[]
Update this so we can enable USB_PD_TCPC_RUNTIME_CONFIG. This matches what the EC code uses, so is a necessary step for us to be able to move over to it. BUG=b:175434113 BRANCH=none TEST=with EC CL, build on volteer Signed-off-by: Simon Glass <sjg@chromium.org> Cq-Depend: chromium:2607508 Change-Id: I3a93c2af01923eef6c044825b2c7700cdfd09837 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/zephyr-chrome/+/2607401 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2630171 Tested-by: Jack Rosenthal <jrosenth@chromium.org> Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
-rw-r--r--zephyr/projects/volteer/src/usbc_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/projects/volteer/src/usbc_config.c b/zephyr/projects/volteer/src/usbc_config.c
index 8a9d6da384..f503a1914d 100644
--- a/zephyr/projects/volteer/src/usbc_config.c
+++ b/zephyr/projects/volteer/src/usbc_config.c
@@ -64,7 +64,7 @@ void board_overcurrent_event(int port, int is_overcurrented)
/******************************************************************************/
/* USBC TCPC configuration */
-const struct tcpc_config_t tcpc_config[] = {
+struct tcpc_config_t tcpc_config[] = {
[USBC_PORT_C0] = {
.bus_type = EC_BUS_TYPE_I2C,
.i2c_info = {