summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ec/google/chromeec/ec.c2
-rw-r--r--src/ec/google/chromeec/ec.h2
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 */