summaryrefslogtreecommitdiff
path: root/arch/xtensa/variants/s6000/include/variant/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/variants/s6000/include/variant/irq.h')
-rw-r--r--arch/xtensa/variants/s6000/include/variant/irq.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/xtensa/variants/s6000/include/variant/irq.h b/arch/xtensa/variants/s6000/include/variant/irq.h
new file mode 100644
index 00000000..97d6fc48
--- /dev/null
+++ b/arch/xtensa/variants/s6000/include/variant/irq.h
@@ -0,0 +1,9 @@
+#ifndef _XTENSA_S6000_IRQ_H
+#define _XTENSA_S6000_IRQ_H
+
+#define NO_IRQ (-1)
+#define VARIANT_NR_IRQS 8 /* GPIO interrupts */
+
+extern void variant_irq_enable(unsigned int irq);
+
+#endif /* __XTENSA_S6000_IRQ_H */