瀏覽代碼

dt-bindings: Add interrupt-controller/mips-gic.h header

Import a copy of the dt-bindings/interrupt-controller/mips-gic.h header
from Linux, such that we can use device trees which include it without
modification.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Paul Burton 8 年之前
父節點
當前提交
b419e87287
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9 0
      include/dt-bindings/interrupt-controller/mips-gic.h

+ 9 - 0
include/dt-bindings/interrupt-controller/mips-gic.h

@@ -0,0 +1,9 @@
+#ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_MIPS_GIC_H
+#define _DT_BINDINGS_INTERRUPT_CONTROLLER_MIPS_GIC_H
+
+#include <dt-bindings/interrupt-controller/irq.h>
+
+#define GIC_SHARED 0
+#define GIC_LOCAL 1
+
+#endif