aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/irq.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-03-25 11:45:20 -0400
committerThomas Gleixner <tglx@linutronix.de>2011-03-29 08:48:12 -0400
commitec775d0e70eb6b7116406b3441cb8501c2849dd2 (patch)
tree3c9f5bfb1f5a4cde6754517dccaacd9e91a05cf4 /arch/powerpc/kernel/irq.c
parent7bfbc1f28311d680e45d7122ecd48dec57703750 (diff)
powerpc: Convert to new irq_* function names
Scripted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/powerpc/kernel/irq.c')
-rw-r--r--arch/powerpc/kernel/irq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c
index 58d401265328..a155dfde9ac3 100644
--- a/arch/powerpc/kernel/irq.c
+++ b/arch/powerpc/kernel/irq.c
@@ -830,7 +830,7 @@ unsigned int irq_create_of_mapping(struct device_node *controller,
830 /* Set type if specified and different than the current one */ 830 /* Set type if specified and different than the current one */
831 if (type != IRQ_TYPE_NONE && 831 if (type != IRQ_TYPE_NONE &&
832 type != (irqd_get_trigger_type(irq_get_irq_data(virq)))) 832 type != (irqd_get_trigger_type(irq_get_irq_data(virq))))
833 set_irq_type(virq, type); 833 irq_set_irq_type(virq, type);
834 return virq; 834 return virq;
835} 835}
836EXPORT_SYMBOL_GPL(irq_create_of_mapping); 836EXPORT_SYMBOL_GPL(irq_create_of_mapping);
@@ -853,7 +853,7 @@ void irq_dispose_mapping(unsigned int virq)
853 return; 853 return;
854 854
855 /* remove chip and handler */ 855 /* remove chip and handler */
856 set_irq_chip_and_handler(virq, NULL, NULL); 856 irq_set_chip_and_handler(virq, NULL, NULL);
857 857
858 /* Make sure it's completed */ 858 /* Make sure it's completed */
859 synchronize_irq(virq); 859 synchronize_irq(virq);
@@ -1158,7 +1158,7 @@ static int virq_debug_show(struct seq_file *m, void *private)
1158 seq_printf(m, "%5d ", i); 1158 seq_printf(m, "%5d ", i);
1159 seq_printf(m, "0x%05lx ", virq_to_hw(i)); 1159 seq_printf(m, "0x%05lx ", virq_to_hw(i));
1160 1160
1161 chip = get_irq_desc_chip(desc); 1161 chip = irq_desc_get_chip(desc);
1162 if (chip && chip->name) 1162 if (chip && chip->name)
1163 p = chip->name; 1163 p = chip->name;
1164 else 1164 else