]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
DMAENGINE: move COH901318 to arch_initcall
authorLinus Walleij <linus.walleij@stericsson.com>
Thu, 21 Oct 2010 19:04:38 +0000 (21:04 +0200)
committerDan Williams <dan.j.williams@intel.com>
Fri, 22 Oct 2010 18:08:38 +0000 (11:08 -0700)
After moving the PL022 driver to subsys_initcall() due to the need
of having stuff like regulators on the other end of the SPI link,
I noticed that the COH901318 DMA engine will get probed before
the DMA engine, so move it to an arch_initcall().

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/coh901318.c

index 557e2272e5b3195a70525c5c955fa6c4dab0ba0b..f79fc26d930d20f132c6c10bea8204a8e4b5eeba 100644 (file)
@@ -1609,7 +1609,7 @@ int __init coh901318_init(void)
 {
        return platform_driver_probe(&coh901318_driver, coh901318_probe);
 }
-subsys_initcall(coh901318_init);
+arch_initcall(coh901318_init);
 
 void __exit coh901318_exit(void)
 {