Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4dd9e742 authored by Alessandro Rubini's avatar Alessandro Rubini Committed by Russell King
Browse files

[ARM] 5505/1: serial amba-pl011: move to arch_initcall for earlier console

parent 5a9d2515
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -845,7 +845,11 @@ static void __exit pl011_exit(void)
	uart_unregister_driver(&amba_reg);
}

module_init(pl011_init);
/*
 * While this can be a module, if builtin it's most likely the console
 * So let's leave module_exit but move module_init to an earlier place
 */
arch_initcall(pl011_init);
module_exit(pl011_exit);

MODULE_AUTHOR("ARM Ltd/Deep Blue Solutions Ltd");