diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-10-01 14:44:58 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-10-04 12:43:34 +0200 |
commit | a77c4635915021c646cc017f22239e66d1aab4d5 (patch) | |
tree | 59f372efa6d87064fda9c901ea785c838cb642e5 /kernel/irq/internals.h | |
parent | f8822657e799b02c55556c99a601261e207a299d (diff) | |
download | linux-a77c4635915021c646cc017f22239e66d1aab4d5.tar.gz linux-a77c4635915021c646cc017f22239e66d1aab4d5.tar.bz2 linux-a77c4635915021c646cc017f22239e66d1aab4d5.zip |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h index a805a00cfd28..562fc7eeabec 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); |