Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

serial: 8250_hp300: trivial: fix symbol name in #warning message

The symbol is defined in drivers/tty/serial/8250/Kconfig as
"SERIAL_8250", not just "8250".

Signed-off-by: Daniele Forsi <dforsi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Daniele Forsi and committed by
Greg Kroah-Hartman
c10b7390 57087d51

+1 -1
+1 -1
drivers/tty/serial/8250/8250_hp300.c
··· 21 21 #include "8250.h" 22 22 23 23 #if !defined(CONFIG_HPDCA) && !defined(CONFIG_HPAPCI) 24 - #warning CONFIG_8250 defined but neither CONFIG_HPDCA nor CONFIG_HPAPCI defined, are you sure? 24 + #warning CONFIG_SERIAL_8250 defined but neither CONFIG_HPDCA nor CONFIG_HPAPCI defined, are you sure? 25 25 #endif 26 26 27 27 #ifdef CONFIG_HPAPCI