From: hhb Date: Fri, 14 Jun 2013 07:56:55 +0000 (+0800) Subject: dma: change module init from module_init to arch_initcall_sync X-Git-Tag: firefly_0821_release~6969 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e8ffb0c306e587e00987ccb9626ea7b824690331;p=firefly-linux-kernel-4.4.55.git dma: change module init from module_init to arch_initcall_sync --- diff --git a/arch/arm/plat-rk/dma-pl330.c b/arch/arm/plat-rk/dma-pl330.c index de8191f0c7c5..302110878a73 100644 --- a/arch/arm/plat-rk/dma-pl330.c +++ b/arch/arm/plat-rk/dma-pl330.c @@ -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) {