From: Robin Murphy Date: Thu, 28 Aug 2014 16:51:59 +0000 (+0100) Subject: iommu/arm-smmu: fix architecture version detection X-Git-Tag: fixes-against-v3.18-rc2~67^2^4^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=093604033361928f7f355b4d1766d0179ae747fb;p=pandora-kernel.git iommu/arm-smmu: fix architecture version detection The SMMU driver was relying on a quirk of MMU-500 r2px to identify the correct architecture version. Since this does not apply to other implementations, make the architecture version for each supported implementation explicit. While we're at it, remove the unnecessary #ifdef since the dependencies for CONFIG_ARM_SMMU already imply CONFIG_OF. Signed-off-by: Robin Murphy Signed-off-by: Will Deacon --- Reading git-diff-tree failed