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)
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

Simple merge