serial: bfin_uart: Remove redundant testing for ifdef CONFIG_SERIAL_BFIN_MODULE
No idea why we have redundant testing for ifdef CONFIG_SERIAL_BFIN_MODULE, check it once is enough. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4e3234897f
commit
37e1ceb179
@ -41,10 +41,6 @@
|
||||
# undef CONFIG_EARLY_PRINTK
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SERIAL_BFIN_MODULE
|
||||
# undef CONFIG_EARLY_PRINTK
|
||||
#endif
|
||||
|
||||
/* UART name and device definitions */
|
||||
#define BFIN_SERIAL_DEV_NAME "ttyBF"
|
||||
#define BFIN_SERIAL_MAJOR 204
|
||||
|
Loading…
Reference in New Issue
Block a user