driver/ramlog: set CONFIG_SYSLOG_DEVPATH to /dev/kmsg when enbale ramglog

Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
Jiuzhu Dong
2022-07-21 08:55:20 +00:00
committed by Xiang Xiao
parent af62e6cbfa
commit e7b8af7a35
2 changed files with 2 additions and 5 deletions
+2 -1
View File
@@ -188,7 +188,8 @@ comment "SYSLOG channels"
config SYSLOG_DEVPATH
string "System log device"
default "/dev/ttyS1"
default "/dev/kmsg" if CONFIG_RAMLOG_SYSLOG
default "/dev/ttyS1" if !CONFIG_RAMLOG_SYSLOG
---help---
The full path to the system logging device. For the RAMLOG SYSLOG device,
this is normally "/dev/kmsg". For character SYSLOG devices, it should be