diff options
author | Valentin Rothberg <valentinrothberg@gmail.com> | 2015-04-12 11:37:24 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-06 16:27:00 -0400 |
commit | 507224aa88fc2c11f252705ad286bca155e0df02 (patch) | |
tree | 5f1f857194542fc23046626cab0fb376e1681bdb /arch/mn10300 | |
parent | 6b3cddccf4eec0883feb065aea28dd9770bb17d0 (diff) |
serial: 8250: remove Kconfig indirection
Remove CONFIG_SERIAL_DETECT_IRQ and CONFIG_SERIAL_MANY_PORTS, and
substitute all references to the proper 8250 Kconfig options. Now, the
actual Kconfig dependencies are not hidden when reading the code and
static analyzers are less confused.
Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/mn10300')
-rw-r--r-- | arch/mn10300/include/asm/serial.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mn10300/include/asm/serial.h b/arch/mn10300/include/asm/serial.h index 23a799293599..c1990218f18c 100644 --- a/arch/mn10300/include/asm/serial.h +++ b/arch/mn10300/include/asm/serial.h | |||
@@ -13,7 +13,7 @@ | |||
13 | #define _ASM_SERIAL_H | 13 | #define _ASM_SERIAL_H |
14 | 14 | ||
15 | /* Standard COM flags (except for COM4, because of the 8514 problem) */ | 15 | /* Standard COM flags (except for COM4, because of the 8514 problem) */ |
16 | #ifdef CONFIG_SERIAL_DETECT_IRQ | 16 | #ifdef CONFIG_SERIAL_8250_DETECT_IRQ |
17 | #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST | ASYNC_AUTO_IRQ) | 17 | #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST | ASYNC_AUTO_IRQ) |
18 | #define STD_COM4_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_AUTO_IRQ) | 18 | #define STD_COM4_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_AUTO_IRQ) |
19 | #else | 19 | #else |
@@ -21,7 +21,7 @@ | |||
21 | #define STD_COM4_FLAGS ASYNC_BOOT_AUTOCONF | 21 | #define STD_COM4_FLAGS ASYNC_BOOT_AUTOCONF |
22 | #endif | 22 | #endif |
23 | 23 | ||
24 | #ifdef CONFIG_SERIAL_MANY_PORTS | 24 | #ifdef CONFIG_SERIAL_8250_MANY_PORTS |
25 | #define FOURPORT_FLAGS ASYNC_FOURPORT | 25 | #define FOURPORT_FLAGS ASYNC_FOURPORT |
26 | #define ACCENT_FLAGS 0 | 26 | #define ACCENT_FLAGS 0 |
27 | #define BOCA_FLAGS 0 | 27 | #define BOCA_FLAGS 0 |