projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a9d251
)
[ARM] 5505/1: serial amba-pl011: move to arch_initcall for earlier console
author
Alessandro Rubini
<rubini@gnudd.com>
Tue, 5 May 2009 04:54:13 +0000
(
05:54
+0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sun, 31 May 2009 13:58:11 +0000
(14:58 +0100)
Signed-off-by: Alessandro Rubini <rubini@unipv.it>"
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/amba-pl011.c
patch
|
blob
|
history
diff --git
a/drivers/serial/amba-pl011.c
b/drivers/serial/amba-pl011.c
index
88fdac5
..
4cfa1eb
100644
(file)
--- a/
drivers/serial/amba-pl011.c
+++ b/
drivers/serial/amba-pl011.c
@@
-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");