1 Subject: Don't use <linux/kdb.h> outside CONFIG_KDB
6 drivers/serial/8250.c | 4 +++-
7 1 file changed, 3 insertions(+), 1 deletion(-)
9 --- a/drivers/serial/8250.c
10 +++ b/drivers/serial/8250.c
15 -#include <linux/kdb.h>
17 +#include <linux/kdb.h>
19 * kdb_serial_line records the serial line number of the first serial console.
20 * NOTE: The kernel ignores characters on the serial line unless a user space
23 static int kdb_serial_line = -1;
24 static const char *kdb_serial_ptr = kdb_serial_str;
27 #endif /* CONFIG_KDB */