Skip to contentSkip to conversation

iommu: shmobile: depend on ARCH_SHMOBILE

PATCH In review Paul Bolle 2 participants 2 messages Feb 8, 2014 – Feb 10, 2014 IOMMU

lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

PATCH 1/1 iommu: shmobile: depend on ARCH_SHMOBILE

Commit 78a2e12f51d9 ("iommu: shmobile: Enable driver compilation with COMPILE_TEST") added an optional dependency on SH_MOBILE. But that Kconfig symbol doesn't exist. It seems ARCH_SHMOBILE was intended. Use that.

---
Completely untested.

 drivers/iommu/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iommu/Kconfig +1 -1
index 79bbc21..df56e4c 100644
@@ -207,7 +207,7 @@ config SHMOBILE_IOMMU
 	bool "IOMMU for Renesas IPMMU/IPMMUI"
 	default n
 	depends on ARM
-	depends on SH_MOBILE || COMPILE_TEST
+	depends on ARCH_SHMOBILE || COMPILE_TEST
 	select IOMMU_API
 	select ARM_DMA_USE_IOMMU
 	select SHMOBILE_IPMMU
Signature · 1 line
1.8.5.3
Acked-by on v1 1/1
#1 lore raw

Hi Paul,

Thank you for the patch.

Quoted 6 lines · On Saturday 08 February 2014 22:21:54 Paul Bolle wrote:

Commit 78a2e12f51d9 ("iommu: shmobile: Enable driver compilation with COMPILE_TEST") added an optional dependency on SH_MOBILE. But that Kconfig symbol doesn't exist. It seems ARCH_SHMOBILE was intended. Use that.

Joerg, could you please pick this patch up ?

Quoted 19 lines

---
Completely untested.

 drivers/iommu/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iommu/Kconfig +1 -1
index 79bbc21..df56e4c 100644
@@ -207,7 +207,7 @@ config SHMOBILE_IOMMU
 	bool "IOMMU for Renesas IPMMU/IPMMUI"
 	default n
 	depends on ARM
-	depends on SH_MOBILE || COMPILE_TEST
+	depends on ARCH_SHMOBILE || COMPILE_TEST
 	select IOMMU_API
 	select ARM_DMA_USE_IOMMU
 	select SHMOBILE_IPMMU
Signature · 3 lines
Regards,

Laurent Pinchart