[PATCH 17/52] arm/lpc24xx/misc/system-clocks.c: Fix warning
Joel Sherrill
joel.sherrill at oarcorp.com
Wed Oct 8 19:16:08 UTC 2014
---
c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c b/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c
index 6ef027d..f64fca1 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c
+++ b/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c
@@ -82,7 +82,7 @@ void lpc24xx_micro_seconds_delay(unsigned us)
}
#ifdef ARM_MULTILIB_ARCH_V7M
- unsigned lpc17xx_sysclk(unsigned clksrcsel)
+ static unsigned lpc17xx_sysclk(unsigned clksrcsel)
{
return (clksrcsel & LPC17XX_SCB_CLKSRCSEL_CLKSRC) != 0 ?
LPC24XX_OSCILLATOR_MAIN
--
1.9.3
More information about the devel
mailing list