summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/iovmm-gart.c
diff options
context:
space:
mode:
authorGary King <gking@nvidia.com>2010-08-13 11:08:42 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:35:51 -0800
commit2280c5b61c2b9c1926dc351104561e0513ee9eb3 (patch)
tree2d8eb79bd046ffb0a7a25e92d68303b4f938505c /arch/arm/mach-tegra/iovmm-gart.c
parent122b85eda2b19c6c24e90086fe932e538d5f27ad (diff)
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 <gking@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/iovmm-gart.c')
-rw-r--r--arch/arm/mach-tegra/iovmm-gart.c2
1 files changed, 1 insertions, 1 deletions
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);