iommu/arm-smmu: fix compilation issue when !CONFIG_ARM_AMBA
authorWill Deacon <will.deacon@arm.com>
Tue, 4 Feb 2014 22:17:53 +0000 (22:17 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 10 Feb 2014 17:02:27 +0000 (17:02 +0000)
commitd123cf82d339c5cc4ffe2a481e0caa23a501d4ac
tree9cdb6030cd074c9176eadf8fe573d01386e93540
parent57ca90f6800987ac274d7ba065ae6692cdf9bcd7
iommu/arm-smmu: fix compilation issue when !CONFIG_ARM_AMBA

If !CONFIG_ARM_AMBA, we shouldn't try to register ourselves with the
amba_bustype.

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