aboutsummaryrefslogtreecommitdiffstats
path: root/sst_fwhub.c
diff options
context:
space:
mode:
Diffstat (limited to 'sst_fwhub.c')
-rw-r--r--sst_fwhub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sst_fwhub.c b/sst_fwhub.c
index 017ab567..65bd2b36 100644
--- a/sst_fwhub.c
+++ b/sst_fwhub.c
@@ -25,7 +25,7 @@
#include "flash.h"
#include "chipdrivers.h"
-int check_sst_fwhub_block_lock(struct flashchip *flash, int offset)
+static int check_sst_fwhub_block_lock(struct flashchip *flash, int offset)
{
chipaddr registers = flash->virtual_registers;
uint8_t blockstatus;
@@ -51,7 +51,7 @@ int check_sst_fwhub_block_lock(struct flashchip *flash, int offset)
return blockstatus & 0x1;
}
-int clear_sst_fwhub_block_lock(struct flashchip *flash, int offset)
+static int clear_sst_fwhub_block_lock(struct flashchip *flash, int offset)
{
chipaddr registers = flash->virtual_registers;
uint8_t blockstatus;