summaryrefslogtreecommitdiff
path: root/src/flash/cfi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/cfi.c')
-rw-r--r--src/flash/cfi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/cfi.c b/src/flash/cfi.c
index b4bb6053..edc4645f 100644
--- a/src/flash/cfi.c
+++ b/src/flash/cfi.c
@@ -121,7 +121,7 @@ static void cfi_fixup(flash_bank_t *bank, cfi_fixup_t *fixups)
}
/* inline u32 flash_address(flash_bank_t *bank, int sector, u32 offset) */
-__inline__ u32 flash_address(flash_bank_t *bank, int sector, u32 offset)
+static __inline__ u32 flash_address(flash_bank_t *bank, int sector, u32 offset)
{
/* while the sector list isn't built, only accesses to sector 0 work */
if (sector == 0)