mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
iommu/arm-smmu: Remove legacy bindings bus initialization initcall
No currently supported targets utilize the deprecated mmu-masters bindings, which results in the legacy bindings initcall being a no-op. Thus, remove the initcall to the legacy bindings routine for now, until this can be handled properly. Change-Id: Ie8b1004914315e757c059f8b8fc2b8713351be16 Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
This commit is contained in:
parent
853c797061
commit
2981d63a6b
1 changed files with 1 additions and 2 deletions
|
|
@ -4763,13 +4763,12 @@ out_exit_power_resources:
|
|||
* delay setting bus ops until we're sure every possible SMMU is ready,
|
||||
* and that way ensure that no add_device() calls get missed.
|
||||
*/
|
||||
static int arm_smmu_legacy_bus_init(void)
|
||||
static int __maybe_unused arm_smmu_legacy_bus_init(void)
|
||||
{
|
||||
if (using_legacy_binding)
|
||||
arm_smmu_bus_init();
|
||||
return 0;
|
||||
}
|
||||
device_initcall_sync(arm_smmu_legacy_bus_init);
|
||||
|
||||
static int arm_smmu_device_remove(struct platform_device *pdev)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue