From ede97c29c6f3307f0098e85a6aef998cb2f773f1 Mon Sep 17 00:00:00 2001 From: Karthikeyan Ramasubramanian Date: Tue, 5 Nov 2024 09:49:04 -0700 Subject: ec/google/chromeec: Fix typo in google_chromeec_get_pd_chip_info An unintended suffix got added in google_chromeec_get_pd_chip_info. Fix the typo by removing that suffix. BUG=None TEST=Build Brox BIOS image and boot to OS. Change-Id: I76048ec1ed6b4387098fecf35ccc5b1c1742abb0 Signed-off-by: Karthikeyan Ramasubramanian Reviewed-on: https://review.coreboot.org/c/coreboot/+/85005 Tested-by: build bot (Jenkins) Reviewed-by: Caveh Jalali Reviewed-by: Subrata Banik --- src/ec/google/chromeec/ec.c | 2 +- src/ec/google/chromeec/ec.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ec/google/chromeec/ec.c b/src/ec/google/chromeec/ec.c index 38f7e87b81..af5c235309 100644 --- a/src/ec/google/chromeec/ec.c +++ b/src/ec/google/chromeec/ec.c @@ -1170,7 +1170,7 @@ int google_chromeec_get_num_pd_ports(unsigned int *num_ports) return 0; } -int google_chromeec_get_pd_chip_infoi(int port, int renew, +int google_chromeec_get_pd_chip_info(int port, int renew, struct ec_response_pd_chip_info *r) { const struct ec_params_pd_chip_info p = { diff --git a/src/ec/google/chromeec/ec.h b/src/ec/google/chromeec/ec.h index 5a65f2dee7..31c76714b9 100644 --- a/src/ec/google/chromeec/ec.h +++ b/src/ec/google/chromeec/ec.h @@ -346,7 +346,7 @@ int google_chromeec_get_num_pd_ports(unsigned int *num_ports); * * @return 0 if ok, -1 on error */ -int google_chromeec_get_pd_chip_infoi(int port, int renew, +int google_chromeec_get_pd_chip_info(int port, int renew, struct ec_response_pd_chip_info *r); /* Structure representing the capabilities of a USB-PD port */ -- cgit v1.2.3