Move RAMLOG initialize from up_initialilize.c files to syslog_initialize(). up_initialize.c files now call syslog_initialize() unconditionally

This commit is contained in:
Gregory Nutt
2016-06-19 09:39:21 -06:00
parent de58cb6027
commit 0f18f3bd15
12 changed files with 27 additions and 54 deletions
+7 -1
View File
@@ -73,10 +73,16 @@ int syslog_initialize(void)
/* Not much to this yet... more is coming */
#if defined(CONFIG_SYSLOG) && defined(CONFIG_SYSLOG_CHAR)
#if defined(CONFIG_SYSLOG_CHAR)
/* Enable use of a character device as the SYSLOG device */
ret = syslog_dev_initialize();
#elif defined(CONFIG_RAMLOG_SYSLOG)
/* Use the RAMLOG as the SYSLOG device */
ramlog_syslog_initialize();
#endif
#else
/* Nothing needs to be done */