iommu/mediatek: Move MTK_M4U_TO_LARB/PORT into mtk_iommu.c
authorYong Wu <yong.wu@mediatek.com>
Mon, 21 Aug 2017 11:00:15 +0000 (19:00 +0800)
committerJoerg Roedel <jroedel@suse.de>
Tue, 22 Aug 2017 14:37:58 +0000 (16:37 +0200)
commita9467d954226f1a513cfe789a3a39d8fc73b5d16
tree1599514b5f3afa39660cfb8dba1499210f6bac7f
parent894901b5c9433c6cdc2b997e4d35c1807572bd77
iommu/mediatek: Move MTK_M4U_TO_LARB/PORT into mtk_iommu.c

The definition of MTK_M4U_TO_LARB and MTK_M4U_TO_PORT are shared by
all the gen2 M4U HWs. Thus, Move them out from mt8173-larb-port.h,
and put them into the c file.

Suggested-by: Honghui Zhang <honghui.zhang@mediatek.com>
Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/mtk_iommu.c
include/dt-bindings/memory/mt8173-larb-port.h