syslog: correct to #ifdef CONFIG_SYSLOG_RPMSG to call syslog_rpmsg_init

Same as syslog/Make.defs to use #ifdef CONFIG_SYSLOG_RPMSG to build syslog_rpmsg.c
in which syslog_rpmsg_init defined.

Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
This commit is contained in:
liuhaitao 2020-04-29 18:10:10 +08:00 committed by patacongo
parent 97afe1c402
commit bd924bf7fb
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ int syslog_initialize(void)
syslog_register();
#endif
#ifdef CONFIG_SYSLOG_CHARDEV
#ifdef CONFIG_SYSLOG_RPMSG
syslog_rpmsg_init();
#endif