From e8ffb0c306e587e00987ccb9626ea7b824690331 Mon Sep 17 00:00:00 2001 From: hhb Date: Fri, 14 Jun 2013 15:56:55 +0800 Subject: [PATCH] dma: change module init from module_init to arch_initcall_sync --- arch/arm/plat-rk/dma-pl330.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.34.1