aboutsummaryrefslogtreecommitdiff
path: root/kernel/irq/internals.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-10-01 14:44:58 +0200
committerThomas Gleixner <tglx@linutronix.de>2010-10-04 12:43:34 +0200
commita77c4635915021c646cc017f22239e66d1aab4d5 (patch)
tree59f372efa6d87064fda9c901ea785c838cb642e5 /kernel/irq/internals.h
parentf8822657e799b02c55556c99a601261e207a299d (diff)
genirq: Add new functions to dummy chips
The compat functions go away when the core code is converted. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/irq/internals.h')
-rw-r--r--kernel/irq/internals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h
index a805a00cfd2..562fc7eeabe 100644
--- a/kernel/irq/internals.h
+++ b/kernel/irq/internals.h
@@ -4,6 +4,8 @@
extern int noirqdebug;
+#define irq_data_to_desc(data) container_of(data, struct irq_desc, irq_data)
+
/* Set default functions for irq_chip structures: */
extern void irq_chip_set_defaults(struct irq_chip *chip);