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.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/common/pstore_commands.c b/common/pstore_commands.c
index 469af6a054..89c996379c 100644
--- a/common/pstore_commands.c
+++ b/common/pstore_commands.c
@@ -1,10 +1,11 @@
-/* Copyright 2012 The Chromium OS Authors. All rights reserved.
+/* Copyright 2012 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* Persistent storage commands for Chrome EC */
+#include "builtin/assert.h"
#include "common.h"
#include "eeprom.h"
#include "host_command.h"
@@ -23,8 +24,7 @@ pstore_command_get_info(struct host_cmd_handler_args *args)
args->response_size = sizeof(*r);
return EC_RES_SUCCESS;
}
-DECLARE_HOST_COMMAND(EC_CMD_PSTORE_INFO,
- pstore_command_get_info,
+DECLARE_HOST_COMMAND(EC_CMD_PSTORE_INFO, pstore_command_get_info,
EC_VER_MASK(0));
static enum ec_status pstore_command_read(struct host_cmd_handler_args *args)
@@ -60,9 +60,7 @@ static enum ec_status pstore_command_read(struct host_cmd_handler_args *args)
args->response_size = p->size;
return EC_RES_SUCCESS;
}
-DECLARE_HOST_COMMAND(EC_CMD_PSTORE_READ,
- pstore_command_read,
- EC_VER_MASK(0));
+DECLARE_HOST_COMMAND(EC_CMD_PSTORE_READ, pstore_command_read, EC_VER_MASK(0));
static enum ec_status pstore_command_write(struct host_cmd_handler_args *args)
{
@@ -97,6 +95,4 @@ static enum ec_status pstore_command_write(struct host_cmd_handler_args *args)
return EC_RES_SUCCESS;
}
-DECLARE_HOST_COMMAND(EC_CMD_PSTORE_WRITE,
- pstore_command_write,
- EC_VER_MASK(0));
+DECLARE_HOST_COMMAND(EC_CMD_PSTORE_WRITE, pstore_command_write, EC_VER_MASK(0));