system: adb: Fix compile issues in adb_main.c

Summary:
- This commit fixes compile issues for the following condition
- CONFIG_ADBD_BOARD_INIT=n && CONFIG_BOARDCTL_RESET=y

Impact:
- adb only

Testing:
- Tested with stm32f4discovery:adb (not pushed yet)

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2020-12-17 11:23:26 +09:00 committed by Xiang Xiao
parent 5105474e77
commit 9f542c42e5

View File

@ -24,8 +24,8 @@
#include "adb.h"
#ifdef CONFIG_ADBD_BOARD_INIT
#include <sys/boardctl.h>
#if defined(CONFIG_ADBD_BOARD_INIT) || defined (CONFIG_BOARDCTL_RESET)
# include <sys/boardctl.h>
#endif
#ifdef CONFIG_ADBD_NET_INIT