summaryrefslogtreecommitdiffstats
path: root/drivers/char/Kconfig
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2018-11-06 23:11:37 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-09 08:58:18 -0800
commitacef6660d3aaf18813143c8c5f5d4640ca53ef72 (patch)
tree84563992e2757a8c7d3276ca95a422811266b4d1 /drivers/char/Kconfig
parent397bd9211fe014b347ca8f95a8f4e1017bac1aeb (diff)
downloadlinux-acef6660d3aaf18813143c8c5f5d4640ca53ef72.tar.bz2
ttyprintk: make the printk log level configurable
For some use cases it is handy to use a different printk log level than the default (info) for the messages written to ttyprintk, so add a Kconfig option similar to what we have for default console loglevel. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/Kconfig')
-rw-r--r--drivers/char/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index 9d03b2ff5df6..2e2ffe7010aa 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -66,6 +66,14 @@ config TTY_PRINTK
If unsure, say N.
+config TTY_PRINTK_LEVEL
+ depends on TTY_PRINTK
+ int "ttyprintk log level (1-7)"
+ range 1 7
+ default "6"
+ help
+ Printk log level to use for ttyprintk messages.
+
config PRINTER
tristate "Parallel printer support"
depends on PARPORT