Skip to contentSkip to conversation

qcom_iommu: fix a config symbol typo

PATCH New Christoph Hellwig 1 participant 1 message Apr 12, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qcom_iommu: fix a config symbol typo

The arm/arm64 symbol for big endian builds is CONFIG_CPU_BIG_ENDIAN, not CONFIG_BIG_ENDIAN.

---
 drivers/iommu/qcom_iommu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iommu/qcom_iommu.c +1 -1
index 8cdd3f059513..69f58b633f9d 100644
@@ -280,7 +280,7 @@ static int qcom_iommu_init_domain(struct iommu_domain *domain,
 		reg = SCTLR_CFIE | SCTLR_CFRE | SCTLR_AFE | SCTLR_TRE |
 			SCTLR_M | SCTLR_S1_ASIDPNE | SCTLR_CFCFG;
 
-		if (IS_ENABLED(CONFIG_BIG_ENDIAN))
+		if (IS_ENABLED(CONFIG_CPU_BIG_ENDIAN))
 			reg |= SCTLR_E;
 
 		iommu_writel(ctx, ARM_SMMU_CB_SCTLR, reg);
Signature · 1 line
2.20.1