iommu/exynos: Init from dt-specific callback instead of initcall
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 19 May 2015 13:20:36 +0000 (15:20 +0200)
committerJoerg Roedel <jroedel@suse.de>
Fri, 29 May 2015 08:50:00 +0000 (10:50 +0200)
commit8ed55c812fa8c8ab790bda52dea4a1a87d94fb2b
tree9393884d158a817ae2aaf99f20beb3aaa8d97208
parent622015e407b0824805bb07416b8d9cdfbdc00182
iommu/exynos: Init from dt-specific callback instead of initcall

This patch introduces IOMMU_OF_DECLARE-based initialization to the
driver, which replaces subsys_initcall-based procedure.
exynos_iommu_of_setup ensures that each sysmmu controller is probed
before its master device.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/exynos-iommu.c