summaryrefslogtreecommitdiff
path: root/include/soc/mediatek
diff options
context:
space:
mode:
authorYong Wu <yong.wu@mediatek.com>2019-08-24 11:02:08 +0800
committerJoerg Roedel <jroedel@suse.de>2019-08-30 15:57:27 +0200
commit1ee9feb2c9f893b893c900d2492c6a01dca680f3 (patch)
treec2d13de185bd290504eb6e7411c3908bab9157cd /include/soc/mediatek
parentec2da07ca1202552d87fb01b238d46642817da2b (diff)
iommu/mediatek: Clean up struct mtk_smi_iommu
Remove the "struct mtk_smi_iommu" to simplify the code since it has only one item in it right now. Signed-off-by: Yong Wu <yong.wu@mediatek.com> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/soc/mediatek')
-rw-r--r--include/soc/mediatek/smi.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/soc/mediatek/smi.h b/include/soc/mediatek/smi.h
index 6f0b00cc73ea..5a34b87d89e3 100644
--- a/include/soc/mediatek/smi.h
+++ b/include/soc/mediatek/smi.h
@@ -20,10 +20,6 @@ struct mtk_smi_larb_iommu {
unsigned int mmu;
};
-struct mtk_smi_iommu {
- struct mtk_smi_larb_iommu larb_imu[MTK_LARB_NR_MAX];
-};
-
/*
* mtk_smi_larb_get: Enable the power domain and clocks for this local arbiter.
* It also initialize some basic setting(like iommu).