summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-10-10 10:26:40 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-10-10 10:26:40 +0200
commit9e34ce09fd1a9b032519e4535db18af2d0e06483 (patch)
tree02b199c88bc59f54773e251e9cd844dfd1220b27
parentbsp/lpc24xx: Fix warnings (diff)
downloadrtems-9e34ce09fd1a9b032519e4535db18af2d0e06483.tar.bz2
bsp/lpc32xx: Fix warning
-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;
}