Commit 1d67243a authored by Shubhrajyoti Datta's avatar Shubhrajyoti Datta Committed by Greg Kroah-Hartman

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: default avatarShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Tested-by: default avatarMichal Simek <michal.simek@xilinx.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6c7b8412
...@@ -1673,7 +1673,7 @@ static void __exit cdns_uart_exit(void) ...@@ -1673,7 +1673,7 @@ static void __exit cdns_uart_exit(void)
uart_unregister_driver(&cdns_uart_uart_driver); uart_unregister_driver(&cdns_uart_uart_driver);
} }
module_init(cdns_uart_init); arch_initcall(cdns_uart_init);
module_exit(cdns_uart_exit); module_exit(cdns_uart_exit);
MODULE_DESCRIPTION("Driver for Cadence UART"); MODULE_DESCRIPTION("Driver for Cadence UART");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment