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>
This commit is contained in:
@@ -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).
|
||||
|
Reference in New Issue
Block a user