summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/irqchip.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/irqchip.h')
-rw-r--r--kernel/include/linux/irqchip.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/kernel/include/linux/irqchip.h b/kernel/include/linux/irqchip.h
new file mode 100644
index 000000000..14d79131f
--- /dev/null
+++ b/kernel/include/linux/irqchip.h
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2012 Thomas Petazzoni
+ *
+ * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+ *
+ * This file is licensed under the terms of the GNU General Public
+ * License version 2. This program is licensed "as is" without any
+ * warranty of any kind, whether express or implied.
+ */
+
+#ifndef _LINUX_IRQCHIP_H
+#define _LINUX_IRQCHIP_H
+
+#ifdef CONFIG_IRQCHIP
+void irqchip_init(void);
+#else
+static inline void irqchip_init(void) {}
+#endif
+
+#endif