dma: change module init from module_init to arch_initcall_sync
authorhhb <hhb@rock-chips.com>
Fri, 14 Jun 2013 07:56:55 +0000 (15:56 +0800)
committerhhb <hhb@rock-chips.com>
Fri, 14 Jun 2013 07:56:55 +0000 (15:56 +0800)
arch/arm/plat-rk/dma-pl330.c

index de8191f0c7c5685f5531faf403ae950b00bd568a..302110878a7395ad4802980d46c2cbe75daa0583 100644 (file)
@@ -1308,7 +1308,7 @@ static int __init pl330_init(void)
 {
        return platform_driver_register(&pl330_driver);
 }
-module_init(pl330_init);
+arch_initcall_sync(pl330_init);
 
 static void __exit pl330_exit(void)
 {