summaryrefslogtreecommitdiff
path: root/common/i2c_peripheral.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/i2c_peripheral.c')
-rw-r--r--common/i2c_peripheral.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/common/i2c_peripheral.c b/common/i2c_peripheral.c
index 20a4b4b0ae..ebc7167f8d 100644
--- a/common/i2c_peripheral.c
+++ b/common/i2c_peripheral.c
@@ -9,7 +9,13 @@
#include "i2c.h"
#include "util.h"
-enum ec_status i2c_get_protocol_info(struct host_cmd_handler_args *args)
+/**
+ * Command handler to get host command protocol information
+ *
+ * @param args: host command handler arguments
+ * @return EC_SUCCESS
+ */
+static enum ec_status i2c_get_protocol_info(struct host_cmd_handler_args *args)
{
struct ec_response_get_protocol_info *r = args->response;