mirror of
https://github.com/torvalds/linux.git
synced 2026-06-10 07:32:29 +02:00
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>
This commit is contained in:
parent
e91ad7bcf4
commit
93d52f24df
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user