]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
spi/pl022: move probe call to subsys_initcall()
authorLinus Walleij <linus.walleij@stericsson.com>
Mon, 6 Sep 2010 09:02:12 +0000 (11:02 +0200)
committerGrant Likely <grant.likely@secretlab.ca>
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 <linus.walleij@stericsson.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/amba-pl022.c

index 80613abe961d008b6e8e3b87f80766b9ace9be4f..4c37c4e28647e68f62e1eaadcc92ac887857bf44 100644 (file)
@@ -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)
 {