aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/manage.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-10 05:36:33 -0500
committerThomas Gleixner <tglx@linutronix.de>2011-02-19 06:58:06 -0500
commita0cd9ca2b907d7ee26575e7b63ac92dad768a75e (patch)
tree4b46f7951b9cd76531caf6d4d68d687e1b622336 /kernel/irq/manage.c
parent43abe43ce0619d744c7a5bb15cce075e532b53b7 (diff)
genirq: Namespace cleanup
The irq namespace has become quite convoluted. My bad. Clean it up and deprecate the old functions. All new functions follow the scheme: irq number based: irq_set/get/xxx/_xxx(unsigned int irq, ...) irq_data based: irq_data_set/get/xxx/_xxx(struct irq_data *d, ....) irq_desc based: irq_desc_get_xxx(struct irq_desc *desc) Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r--kernel/irq/manage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index a400db220cf3..b1b4da9446e6 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -434,7 +434,7 @@ static int set_irq_wake_real(unsigned int irq, unsigned int on)
434} 434}
435 435
436/** 436/**
437 * set_irq_wake - control irq power management wakeup 437 * irq_set_irq_wake - control irq power management wakeup
438 * @irq: interrupt to control 438 * @irq: interrupt to control
439 * @on: enable/disable power management wakeup 439 * @on: enable/disable power management wakeup
440 * 440 *
@@ -445,7 +445,7 @@ static int set_irq_wake_real(unsigned int irq, unsigned int on)
445 * Wakeup mode lets this IRQ wake the system from sleep 445 * Wakeup mode lets this IRQ wake the system from sleep
446 * states like "suspend to RAM". 446 * states like "suspend to RAM".
447 */ 447 */
448int set_irq_wake(unsigned int irq, unsigned int on) 448int irq_set_irq_wake(unsigned int irq, unsigned int on)
449{ 449{
450 struct irq_desc *desc = irq_to_desc(irq); 450 struct irq_desc *desc = irq_to_desc(irq);
451 unsigned long flags; 451 unsigned long flags;
@@ -480,7 +480,7 @@ int set_irq_wake(unsigned int irq, unsigned int on)
480 chip_bus_sync_unlock(desc); 480 chip_bus_sync_unlock(desc);
481 return ret; 481 return ret;
482} 482}
483EXPORT_SYMBOL(set_irq_wake); 483EXPORT_SYMBOL(irq_set_irq_wake);
484 484
485/* 485/*
486 * Internal function that tells the architecture code whether a 486 * Internal function that tells the architecture code whether a