diff options
author | Vijay Hiremath <vijay.p.hiremath@intel.com> | 2020-05-12 09:14:49 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-05-15 05:01:36 +0000 |
commit | 8607155dd92cf4170225b0f331a6a0f875520ae8 (patch) | |
tree | 18e91f380a5b00781b4ceddbe31f16559ceed95d /common/usb_pd_host_cmd.c | |
parent | 3a46cbd356b6790eb9787d8d28a0904965224adc (diff) | |
download | chrome-ec-8607155dd92cf4170225b0f331a6a0f875520ae8.tar.gz |
usb_pd: Rename CONFIG_CMD_PD_CONTROL to CONFIG_HOSTCMD_PD_CONTROL
BUG=none
BRANCH=none
TEST=make buildall -j
Change-Id: I33a63d6ac45bbd46da74db34a21d1bb130476362
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2196946
Reviewed-by: Sooraj Govindan <sooraj.govindan@intel.corp-partner.google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'common/usb_pd_host_cmd.c')
-rw-r--r-- | common/usb_pd_host_cmd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/common/usb_pd_host_cmd.c b/common/usb_pd_host_cmd.c index 128b467502..8bb96228c0 100644 --- a/common/usb_pd_host_cmd.c +++ b/common/usb_pd_host_cmd.c @@ -510,7 +510,7 @@ DECLARE_HOST_COMMAND(EC_CMD_GET_PD_PORT_CAPS, hc_get_pd_port_caps, EC_VER_MASK(0)); -#ifdef CONFIG_CMD_PD_CONTROL +#ifdef CONFIG_HOSTCMD_PD_CONTROL static enum ec_status pd_control(struct host_cmd_handler_args *args) { static int pd_control_disabled[CONFIG_USB_PD_PORT_MAX_COUNT]; @@ -585,8 +585,7 @@ static enum ec_status pd_control(struct host_cmd_handler_args *args) return EC_RES_SUCCESS; } - DECLARE_HOST_COMMAND(EC_CMD_PD_CONTROL, pd_control, EC_VER_MASK(0)); -#endif /* CONFIG_CMD_PD_CONTROL */ +#endif /* CONFIG_HOSTCMD_PD_CONTROL */ #endif /* HAS_TASK_HOSTCMD */ |