diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-29 10:27:45 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-29 10:27:45 -0400 |
| commit | 41684f67af75b04152a1714e1a5375dfb00ee3da (patch) | |
| tree | 3b0f51dd8103a4fd40ebb6cefeece7579e348cde /kernel | |
| parent | ec7ae517537ae5c7b0b2cd7f562dfa3e7a05b954 (diff) | |
| parent | d92ef29a6fa971d9e314e412cd9c09757906411a (diff) | |
Merge branch 'gpio/next' of git://git.secretlab.ca/git/linux-2.6
* 'gpio/next' of git://git.secretlab.ca/git/linux-2.6:
h8300: Move gpio.h to gpio-internal.h
gpio: pl061: add DT binding support
gpio: fix build error in include/asm-generic/gpio.h
gpiolib: Ensure struct gpio is always defined
irq: Add EXPORT_SYMBOL_GPL to function of irq generic-chip
gpio-ml-ioh: Use NUMA_NO_NODE not GFP_KERNEL
gpio-pch: Use NUMA_NO_NODE not GFP_KERNEL
gpio: langwell: ensure alternate function is cleared
gpio-pch: Support interrupt function
gpio-pch: Save register value in suspend()
gpio-pch: modify gpio_nums and mask
gpio-pch: support ML7223 IOH n-Bus
gpio-pch: add spinlock in suspend/resume processing
gpio-pch: Delete invalid "restore" code in suspend()
gpio-ml-ioh: Fix suspend/resume issue
gpio-ml-ioh: Support interrupt function
gpio-ml-ioh: Delete unnecessary code
gpio/mxc: add chained_irq_enter/exit() to mx3_gpio_irq_handler()
gpio/nomadik: use genirq core to track enablement
gpio/nomadik: disable clocks when unused
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/irq/generic-chip.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/irq/generic-chip.c b/kernel/irq/generic-chip.c index e38544dddb18..6cb7613e4bf4 100644 --- a/kernel/irq/generic-chip.c +++ b/kernel/irq/generic-chip.c | |||
| @@ -211,6 +211,7 @@ irq_alloc_generic_chip(const char *name, int num_ct, unsigned int irq_base, | |||
| 211 | } | 211 | } |
| 212 | return gc; | 212 | return gc; |
| 213 | } | 213 | } |
| 214 | EXPORT_SYMBOL_GPL(irq_alloc_generic_chip); | ||
| 214 | 215 | ||
| 215 | /* | 216 | /* |
| 216 | * Separate lockdep class for interrupt chip which can nest irq_desc | 217 | * Separate lockdep class for interrupt chip which can nest irq_desc |
| @@ -258,6 +259,7 @@ void irq_setup_generic_chip(struct irq_chip_generic *gc, u32 msk, | |||
| 258 | } | 259 | } |
| 259 | gc->irq_cnt = i - gc->irq_base; | 260 | gc->irq_cnt = i - gc->irq_base; |
| 260 | } | 261 | } |
| 262 | EXPORT_SYMBOL_GPL(irq_setup_generic_chip); | ||
| 261 | 263 | ||
| 262 | /** | 264 | /** |
| 263 | * irq_setup_alt_chip - Switch to alternative chip | 265 | * irq_setup_alt_chip - Switch to alternative chip |
| @@ -281,6 +283,7 @@ int irq_setup_alt_chip(struct irq_data *d, unsigned int type) | |||
| 281 | } | 283 | } |
| 282 | return -EINVAL; | 284 | return -EINVAL; |
| 283 | } | 285 | } |
| 286 | EXPORT_SYMBOL_GPL(irq_setup_alt_chip); | ||
| 284 | 287 | ||
| 285 | /** | 288 | /** |
| 286 | * irq_remove_generic_chip - Remove a chip | 289 | * irq_remove_generic_chip - Remove a chip |
| @@ -311,6 +314,7 @@ void irq_remove_generic_chip(struct irq_chip_generic *gc, u32 msk, | |||
| 311 | irq_modify_status(i, clr, set); | 314 | irq_modify_status(i, clr, set); |
| 312 | } | 315 | } |
| 313 | } | 316 | } |
| 317 | EXPORT_SYMBOL_GPL(irq_remove_generic_chip); | ||
| 314 | 318 | ||
| 315 | #ifdef CONFIG_PM | 319 | #ifdef CONFIG_PM |
| 316 | static int irq_gc_suspend(void) | 320 | static int irq_gc_suspend(void) |
