summaryrefslogtreecommitdiff
path: root/common/pstore_commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/pstore_commands.c')
-rw-r--r--common/pstore_commands.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/pstore_commands.c b/common/pstore_commands.c
index 78b8a6a90c..52270cd1cf 100644
--- a/common/pstore_commands.c
+++ b/common/pstore_commands.c
@@ -10,7 +10,7 @@
#include "host_command.h"
#include "util.h"
-int pstore_command_get_info(struct host_cmd_handler_args *args)
+enum ec_status pstore_command_get_info(struct host_cmd_handler_args *args)
{
struct ec_response_pstore_info *r = args->response;
@@ -26,7 +26,7 @@ DECLARE_HOST_COMMAND(EC_CMD_PSTORE_INFO,
pstore_command_get_info,
EC_VER_MASK(0));
-int pstore_command_read(struct host_cmd_handler_args *args)
+enum ec_status pstore_command_read(struct host_cmd_handler_args *args)
{
const struct ec_params_pstore_read *p = args->params;
char *dest = args->response;
@@ -63,7 +63,7 @@ DECLARE_HOST_COMMAND(EC_CMD_PSTORE_READ,
pstore_command_read,
EC_VER_MASK(0));
-int pstore_command_write(struct host_cmd_handler_args *args)
+enum ec_status pstore_command_write(struct host_cmd_handler_args *args)
{
const struct ec_params_pstore_write *p = args->params;