summaryrefslogtreecommitdiffstats
path: root/dts/include/dt-bindings/memory/mt6779-larb-port.h
diff options
context:
space:
mode:
Diffstat (limited to 'dts/include/dt-bindings/memory/mt6779-larb-port.h')
-rw-r--r--dts/include/dt-bindings/memory/mt6779-larb-port.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/dts/include/dt-bindings/memory/mt6779-larb-port.h b/dts/include/dt-bindings/memory/mt6779-larb-port.h
index 2ad0899fbf..3fb438a96e 100644
--- a/dts/include/dt-bindings/memory/mt6779-larb-port.h
+++ b/dts/include/dt-bindings/memory/mt6779-larb-port.h
@@ -4,10 +4,10 @@
* Author: Chao Hao <chao.hao@mediatek.com>
*/
-#ifndef _DTS_IOMMU_PORT_MT6779_H_
-#define _DTS_IOMMU_PORT_MT6779_H_
+#ifndef _DT_BINDINGS_MEMORY_MT6779_LARB_PORT_H_
+#define _DT_BINDINGS_MEMORY_MT6779_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