summaryrefslogtreecommitdiffstats
path: root/dts/include/dt-bindings/memory/mt8183-larb-port.h
diff options
context:
space:
mode:
Diffstat (limited to 'dts/include/dt-bindings/memory/mt8183-larb-port.h')
-rw-r--r--dts/include/dt-bindings/memory/mt8183-larb-port.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/dts/include/dt-bindings/memory/mt8183-larb-port.h b/dts/include/dt-bindings/memory/mt8183-larb-port.h
index 2c579f3051..36abdf0ce5 100644
--- a/dts/include/dt-bindings/memory/mt8183-larb-port.h
+++ b/dts/include/dt-bindings/memory/mt8183-larb-port.h
@@ -3,10 +3,10 @@
* Copyright (c) 2018 MediaTek Inc.
* Author: Yong Wu <yong.wu@mediatek.com>
*/
-#ifndef __DTS_IOMMU_PORT_MT8183_H
-#define __DTS_IOMMU_PORT_MT8183_H
+#ifndef _DT_BINDINGS_MEMORY_MT8183_LARB_PORT_H_
+#define _DT_BINDINGS_MEMORY_MT8183_LARB_PORT_H_
-#define MTK_M4U_ID(larb, port) (((larb) << 5) | (port))
+#include <dt-bindings/memory/mtk-memory-port.h>
#define M4U_LARB0_ID 0
#define M4U_LARB1_ID 1