summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2019-05-16 14:09:12 -0700
committerCommit Bot <commit-bot@chromium.org>2019-05-31 15:37:26 +0000
commit6ef8adde4bf921a701d59766d3366be2df608697 (patch)
treee1b1528b5bbd58183b5add3b96a647fbd4f98876 /driver
parent3568df5702a5da062eef8a0c41e7a3962ccf2d66 (diff)
downloadchrome-ec-6ef8adde4bf921a701d59766d3366be2df608697.tar.gz
USB-PD: Consolidate tcpc_config declarations in usb_pd_tcpm.h
Currently, tcpc_config is declared in two places. This patch consolidates declarations in usb_pd_tcpm.h. Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> BUG=none BRANCH=none TEST=buildall Change-Id: I4f30d06b1eaeb6a83b664de76116d85d65a9fc97 Reviewed-on: https://chromium-review.googlesource.com/1616007 Commit-Ready: Daisuke Nojiri <dnojiri@chromium.org> Tested-by: Daisuke Nojiri <dnojiri@chromium.org> Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1638480 Tested-by: Karthikeyan Ramasubramanian <kramasub@chromium.org> Reviewed-by: Karthikeyan Ramasubramanian <kramasub@chromium.org> Commit-Queue: Karthikeyan Ramasubramanian <kramasub@chromium.org>
Diffstat (limited to 'driver')
-rw-r--r--driver/tcpm/tcpm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/driver/tcpm/tcpm.h b/driver/tcpm/tcpm.h
index 66792d34c8..0dee179e36 100644
--- a/driver/tcpm/tcpm.h
+++ b/driver/tcpm/tcpm.h
@@ -22,7 +22,6 @@
#endif
#ifndef CONFIG_USB_PD_TCPC
-extern const struct tcpc_config_t tcpc_config[];
/* I2C wrapper functions - get I2C port / slave addr from config struct. */
#ifndef CONFIG_USB_PD_TCPC_LOW_POWER