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:
parent
97afe1c402
commit
bd924bf7fb
|
@ -102,7 +102,7 @@ int syslog_initialize(void)
|
|||
syslog_register();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SYSLOG_CHARDEV
|
||||
#ifdef CONFIG_SYSLOG_RPMSG
|
||||
syslog_rpmsg_init();
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue