summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/lib/libbsp/arm/lpc32xx/misc/nand-mlc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/arm/lpc32xx/misc/nand-mlc.c b/c/src/lib/libbsp/arm/lpc32xx/misc/nand-mlc.c
index b21996db84..f87c59b133 100644
--- a/c/src/lib/libbsp/arm/lpc32xx/misc/nand-mlc.c
+++ b/c/src/lib/libbsp/arm/lpc32xx/misc/nand-mlc.c
@@ -203,7 +203,7 @@ void lpc32xx_mlc_write_protection(
mlc->icr |= MLC_ICR_SOFT_WRITE_PROT;
}
-bool is_word_aligned(const void *data, const void *spare)
+static bool is_word_aligned(const void *data, const void *spare)
{
return (((uintptr_t) data) | ((uintptr_t) spare)) % 4 == 0;
}