iommu/arm-smmu: Play nice on non-ARM/SMMU systems
authorThierry Reding <treding@nvidia.com>
Fri, 7 Nov 2014 15:26:18 +0000 (15:26 +0000)
committerWill Deacon <will.deacon@arm.com>
Fri, 14 Nov 2014 14:41:39 +0000 (14:41 +0000)
commit0e7d37adbe45404a76d05d4ef11544f23cf639dd
tree0081582c0738c99ed7f073a967751bdf126887ee
parentcfdeec22e459e3c5081c8fc6d956c8ee68943397
iommu/arm-smmu: Play nice on non-ARM/SMMU systems

Currently the driver registers IOMMU bus operations for all busses even
if no ARM SMMU is present on a system. Depending on the driver probing
order this prevents the driver for the real IOMMU to register itself as
the bus-wide IOMMU.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu.c