boards/arm/sama5/sama5d4-ek/src/sam_appinit.c: Fix error found in build testing. Bad conditional compilation for board_app_initialize(). Should depend only on CONFIG_LIB_BOARDCTL, CONFIG_BUILD_KERNEL is irrelevant.

This commit is contained in:
Gregory Nutt 2019-10-27 13:49:25 -06:00
parent bd3cc792ff
commit 175131fb31
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@
#include "sama5d4-ek.h"
#ifndef CONFIG_BUILD_KERNEL
#ifdef CONFIG_LIB_BOARDCTL
/****************************************************************************
* Pre-processor Definitions
@ -89,4 +89,4 @@ int board_app_initialize(uintptr_t arg)
#endif
}
#endif /* CONFIG_BUILD_KERNEL */
#endif /* CONFIG_LIB_BOARDCTL */