1
0
Fork 0

tty: xilinx_uartps: move to arch_initcall for earlier console

move to arch_initcall to get the console up really early, it is
quite helpful for spotting early boot problems.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Tested-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Shubhrajyoti Datta 2017-09-20 12:20:11 +05:30 committed by Greg Kroah-Hartman
parent 6c7b841224
commit 1d67243a8e
1 changed files with 1 additions and 1 deletions

View File

@ -1673,7 +1673,7 @@ static void __exit cdns_uart_exit(void)
uart_unregister_driver(&cdns_uart_uart_driver);
}
module_init(cdns_uart_init);
arch_initcall(cdns_uart_init);
module_exit(cdns_uart_exit);
MODULE_DESCRIPTION("Driver for Cadence UART");