summaryrefslogtreecommitdiff
path: root/backport
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-01-19 00:04:45 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2014-01-19 17:47:13 +0100
commit72f5d656e0d0877ccbee0b4f7507a0df72b9cb5d (patch)
tree2cd42aee632832122cbbbe9c7dd923967789b82f /backport
parentdbb9ce491b64ce6a363ff493736245698977bbb7 (diff)
backports: add linux/irqdomain.h
ssb uses this header file, but does not use any of the functions in there in the default config, because that is only used when SSB_DRIVER_GPIO and SSB_EMBEDDED are activated. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'backport')
-rw-r--r--backport/backport-include/linux/irqdomain.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/backport/backport-include/linux/irqdomain.h b/backport/backport-include/linux/irqdomain.h
new file mode 100644
index 00000000..a889a290
--- /dev/null
+++ b/backport/backport-include/linux/irqdomain.h
@@ -0,0 +1,9 @@
+#ifndef __BACKPORT_LINUX_IRQDOMAIN_H
+#define __BACKPORT_LINUX_IRQDOMAIN_H
+#include <linux/version.h>
+
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,1,0)
+#include_next <linux/irqdomain.h>
+#endif
+
+#endif /* __BACKPORT_LINUX_IRQDOMAIN_H */