Revert "[HACK] iommu/exynos: fix compile error"
authorDongHyun Cha <dhyun.cha@samsung.com>
Wed, 11 Jul 2018 07:40:51 +0000 (16:40 +0900)
committerjungi.lee <jungilsi.lee@samsung.com>
Tue, 17 Jul 2018 11:29:14 +0000 (20:29 +0900)
This reverts commit 99ee2e11f8522bf0dee40b7aee1eab497d2ecd2f.

Change-Id: Ie0139d3f23b860acbba9a9b50816a8e8b3a1a571

drivers/iommu/exynos-iommu-reg.h

index 78e49c09496fec1f318ef6683d7311da1580a61b..85c65c5b83c8fbf3ba6c19ecfca85a7bbacfb2c3 100644 (file)
@@ -13,7 +13,6 @@
 #define is_secure_info_fail(x) ((((x) >> 16) & 0xffff) == 0xdead)
 static inline u32 __secure_info_read(unsigned int addr)
 {
-#if 0
        u32 ret;
 
        ret = exynos_smc(SMC_DRM_SEC_SMMU_INFO, (unsigned long)addr,
@@ -22,9 +21,6 @@ static inline u32 __secure_info_read(unsigned int addr)
                pr_err("Invalid value returned, %#x\n", ret);
 
        return ret;
-#else
-       return 0;
-#endif
 }
 
 static inline void __sysmmu_tlb_invalidate_all(void __iomem *sfrbase)