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 <[email protected]>
---
 backport/backport-include/linux/irqdomain.h |    9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 backport/backport-include/linux/irqdomain.h

diff --git a/backport/backport-include/linux/irqdomain.h 
b/backport/backport-include/linux/irqdomain.h
new file mode 100644
index 0000000..a889a29
--- /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 */
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to