summaryrefslogtreecommitdiff
path: root/chip/npcx/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/npcx/flash.c')
-rw-r--r--chip/npcx/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/npcx/flash.c b/chip/npcx/flash.c
index f5b124e650..b0cbca536f 100644
--- a/chip/npcx/flash.c
+++ b/chip/npcx/flash.c
@@ -723,7 +723,7 @@ void flash_lock_mapped_storage(int lock)
#if defined(CONFIG_HOSTCMD_FLASH_SPI_INFO) && !defined(BOARD_NPCX_EVB)
/* NPCX EVB uses implementation from spi_flash.c */
-static int flash_command_spi_info(struct host_cmd_handler_args *args)
+static enum ec_status flash_command_spi_info(struct host_cmd_handler_args *args)
{
struct ec_response_flash_spi_info *r = args->response;