From e69840b434035ae581e31a29efc1a333d0b390da Mon Sep 17 00:00:00 2001 From: Daisuke Nojiri Date: Thu, 16 May 2019 14:09:12 -0700 Subject: 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 BUG=none BRANCH=none TEST=buildall Change-Id: I4f30d06b1eaeb6a83b664de76116d85d65a9fc97 Reviewed-on: https://chromium-review.googlesource.com/1616007 Commit-Ready: Daisuke Nojiri Tested-by: Daisuke Nojiri Legacy-Commit-Queue: Commit Bot Reviewed-by: Jett Rink --- driver/tcpm/tcpm.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'driver') diff --git a/driver/tcpm/tcpm.h b/driver/tcpm/tcpm.h index 52314151ae..0dee179e36 100644 --- a/driver/tcpm/tcpm.h +++ b/driver/tcpm/tcpm.h @@ -22,11 +22,6 @@ #endif #ifndef CONFIG_USB_PD_TCPC -#ifndef CONFIG_USB_PD_TCPC_RUNTIME_CONFIG -extern const struct tcpc_config_t tcpc_config[]; -#else -extern struct tcpc_config_t tcpc_config[]; -#endif /* I2C wrapper functions - get I2C port / slave addr from config struct. */ #ifndef CONFIG_USB_PD_TCPC_LOW_POWER -- cgit v1.2.1