From: Gary King Date: Fri, 13 Aug 2010 18:08:42 +0000 (-0700) Subject: tegra: iovmm-gart: move init call to subsys_initcall X-Git-Tag: firefly_0821_release~9833^2~186 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=93d52f24df95c840cb1df315da4f4aa6dacb7de5;p=firefly-linux-kernel-4.4.55.git tegra: iovmm-gart: move init call to subsys_initcall nvmap and nvhost will behave improperly if iovmm is not present when their respective devices are probed; however, the probe ordering depends on the order the initcalls are made to register the drivers. move iovmm-gart into subsys_initcall to ensure that it is registered earlier than other drivers Change-Id: If3e07ce239e593a0833a3381cd1132f5d6ef6786 Signed-off-by: Gary King --- diff --git a/arch/arm/mach-tegra/iovmm-gart.c b/arch/arm/mach-tegra/iovmm-gart.c index ef052e29b4f8..fbab0362c081 100644 --- a/arch/arm/mach-tegra/iovmm-gart.c +++ b/arch/arm/mach-tegra/iovmm-gart.c @@ -347,5 +347,5 @@ static struct tegra_iovmm_domain *gart_alloc_domain( return &gart->domain; } -module_init(gart_init); +subsys_initcall(gart_init); module_exit(gart_exit);