arch/arm/src/imxrt/imxrt_ocotp.c: Eliminate 2 of 3 warnings found in build testing. I will need to talk with DavidS about the third.

This commit is contained in:
Gregory Nutt 2019-02-28 13:28:52 -06:00
parent 3c0f6f4876
commit ee676290b2
1 changed files with 2 additions and 2 deletions

View File

@ -63,12 +63,12 @@
* Private Function * Private Function
****************************************************************************/ ****************************************************************************/
static inline void imxrt_ocotp_reset_errors() static inline void imxrt_ocotp_reset_errorsvoid(void)
{ {
putreg32(OCOTP_CTRL_ERROR, IMXRT_OCOTP_CTRL_CLR); putreg32(OCOTP_CTRL_ERROR, IMXRT_OCOTP_CTRL_CLR);
} }
static void imxrt_ocotp_initialize() static void imxrt_ocotp_initialize(void)
{ {
static bool once = false; static bool once = false;
uint32_t read; uint32_t read;