diff options
Diffstat (limited to 'kernel/irq/generic-chip.c')
| -rw-r--r-- | kernel/irq/generic-chip.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/irq/generic-chip.c b/kernel/irq/generic-chip.c index e38544dddb18..c89295a8f668 100644 --- a/kernel/irq/generic-chip.c +++ b/kernel/irq/generic-chip.c | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | #include <linux/io.h> | 6 | #include <linux/io.h> |
| 7 | #include <linux/irq.h> | 7 | #include <linux/irq.h> |
| 8 | #include <linux/slab.h> | 8 | #include <linux/slab.h> |
| 9 | #include <linux/export.h> | ||
| 9 | #include <linux/interrupt.h> | 10 | #include <linux/interrupt.h> |
| 10 | #include <linux/kernel_stat.h> | 11 | #include <linux/kernel_stat.h> |
| 11 | #include <linux/syscore_ops.h> | 12 | #include <linux/syscore_ops.h> |
| @@ -211,6 +212,7 @@ irq_alloc_generic_chip(const char *name, int num_ct, unsigned int irq_base, | |||
| 211 | } | 212 | } |
| 212 | return gc; | 213 | return gc; |
| 213 | } | 214 | } |
| 215 | EXPORT_SYMBOL_GPL(irq_alloc_generic_chip); | ||
| 214 | 216 | ||
| 215 | /* | 217 | /* |
| 216 | * Separate lockdep class for interrupt chip which can nest irq_desc | 218 | * Separate lockdep class for interrupt chip which can nest irq_desc |
| @@ -258,6 +260,7 @@ void irq_setup_generic_chip(struct irq_chip_generic *gc, u32 msk, | |||
| 258 | } | 260 | } |
| 259 | gc->irq_cnt = i - gc->irq_base; | 261 | gc->irq_cnt = i - gc->irq_base; |
| 260 | } | 262 | } |
| 263 | EXPORT_SYMBOL_GPL(irq_setup_generic_chip); | ||
| 261 | 264 | ||
| 262 | /** | 265 | /** |
| 263 | * irq_setup_alt_chip - Switch to alternative chip | 266 | * irq_setup_alt_chip - Switch to alternative chip |
| @@ -281,6 +284,7 @@ int irq_setup_alt_chip(struct irq_data *d, unsigned int type) | |||
| 281 | } | 284 | } |
| 282 | return -EINVAL; | 285 | return -EINVAL; |
| 283 | } | 286 | } |
| 287 | EXPORT_SYMBOL_GPL(irq_setup_alt_chip); | ||
| 284 | 288 | ||
| 285 | /** | 289 | /** |
| 286 | * irq_remove_generic_chip - Remove a chip | 290 | * irq_remove_generic_chip - Remove a chip |
| @@ -311,6 +315,7 @@ void irq_remove_generic_chip(struct irq_chip_generic *gc, u32 msk, | |||
| 311 | irq_modify_status(i, clr, set); | 315 | irq_modify_status(i, clr, set); |
| 312 | } | 316 | } |
| 313 | } | 317 | } |
| 318 | EXPORT_SYMBOL_GPL(irq_remove_generic_chip); | ||
| 314 | 319 | ||
| 315 | #ifdef CONFIG_PM | 320 | #ifdef CONFIG_PM |
| 316 | static int irq_gc_suspend(void) | 321 | static int irq_gc_suspend(void) |
