summaryrefslogtreecommitdiffstats
path: root/include/soc/mediatek
diff options
context:
space:
mode:
authorYong Wu <yong.wu@mediatek.com>2021-01-11 12:18:49 +0100
committerWill Deacon <will@kernel.org>2021-02-01 12:31:16 +0100
commit66a28915541549f0fe0f4c705dab77443f22b5d6 (patch)
treed3e4de46f72ad2068ecead428d9fcdd2894b5901 /include/soc/mediatek
parentdt-bindings: mediatek: Add binding for mt8192 IOMMU (diff)
downloadlinux-66a28915541549f0fe0f4c705dab77443f22b5d6.tar.xz
linux-66a28915541549f0fe0f4c705dab77443f22b5d6.zip
iommu/mediatek: Use the common mtk-memory-port.h
Use the common memory header(larb-port) in the source code. Signed-off-by: Yong Wu <yong.wu@mediatek.com> Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Tomasz Figa <tfiga@chromium.org> Link: https://lore.kernel.org/r/20210111111914.22211-9-yong.wu@mediatek.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'include/soc/mediatek')
-rw-r--r--include/soc/mediatek/smi.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/soc/mediatek/smi.h b/include/soc/mediatek/smi.h
index 5a34b87d89e3..9371bf572ab8 100644
--- a/include/soc/mediatek/smi.h
+++ b/include/soc/mediatek/smi.h
@@ -11,8 +11,6 @@
#ifdef CONFIG_MTK_SMI
-#define MTK_LARB_NR_MAX 16
-
#define MTK_SMI_MMU_EN(port) BIT(port)
struct mtk_smi_larb_iommu {