aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bmips/patches-5.10/201-serial-bcm63xx-init-uart-earlier.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/bmips/patches-5.10/201-serial-bcm63xx-init-uart-earlier.patch')
-rw-r--r--target/linux/bmips/patches-5.10/201-serial-bcm63xx-init-uart-earlier.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/bmips/patches-5.10/201-serial-bcm63xx-init-uart-earlier.patch b/target/linux/bmips/patches-5.10/201-serial-bcm63xx-init-uart-earlier.patch
new file mode 100644
index 0000000000..468f89d0b5
--- /dev/null
+++ b/target/linux/bmips/patches-5.10/201-serial-bcm63xx-init-uart-earlier.patch
@@ -0,0 +1,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>");