aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bmips/patches-5.10/201-serial-bcm63xx-init-uart-earlier.patch
blob: 468f89d0b50772862d9d95b3f6a3bdbac793954c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/drivers/tty/serial/bcm63xx_uart.c
+++ b/drivers/tty/serial/bcm63xx_uart.c
@@ -916,7 +916,7 @@ static void __exit bcm_uart_exit(void)
 	uart_unregister_driver(&bcm_uart_driver);
 }
 
-module_init(bcm_uart_init);
+subsys_initcall(bcm_uart_init);
 module_exit(bcm_uart_exit);
 
 MODULE_AUTHOR("Maxime Bizon <mbizon@freebox.fr>");