projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05f25ab
)
spi/pl022: move probe call to subsys_initcall()
author
Linus Walleij
<
[email protected]
>
Mon, 6 Sep 2010 09:02:12 +0000
(11:02 +0200)
committer
Grant Likely
<
[email protected]
>
Thu, 9 Sep 2010 04:50:10 +0000
(22:50 -0600)
The PL022 SPI bus is sometimes used for early stuff like
regulators that need to be present at module_init() time, so
we move this to a subsys_initcall().
Signed-off-by: Linus Walleij <
[email protected]
>
Signed-off-by: Grant Likely <
[email protected]
>
drivers/spi/amba-pl022.c
patch
|
blob
|
history
diff --git
a/drivers/spi/amba-pl022.c
b/drivers/spi/amba-pl022.c
index 80613abe961d008b6e8e3b87f80766b9ace9be4f..4c37c4e28647e68f62e1eaadcc92ac887857bf44 100644
(file)
--- a/
drivers/spi/amba-pl022.c
+++ b/
drivers/spi/amba-pl022.c
@@
-1983,7
+1983,7
@@
static int __init pl022_init(void)
return amba_driver_register(&pl022_driver);
}
-
module_init
(pl022_init);
+
subsys_initcall
(pl022_init);
static void __exit pl022_exit(void)
{