Skip to content

Commit

Permalink
frv: Convert genirq namespace
Browse files Browse the repository at this point in the history
Convert to new function names. Converted with coccinelle.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Thomas Gleixner committed Mar 29, 2011
1 parent 808339b commit de2e95a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions arch/frv/kernel/irq-mb93091.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ void __init fpga_init(void)
__clr_IFR(0x0000);

for (irq = IRQ_BASE_FPGA + 1; irq <= IRQ_BASE_FPGA + 14; irq++)
set_irq_chip_and_handler(irq, &frv_fpga_pic, handle_level_irq);
irq_set_chip_and_handler(irq, &frv_fpga_pic, handle_level_irq);

set_irq_chip_and_handler(IRQ_FPGA_NMI, &frv_fpga_pic, handle_edge_irq);
irq_set_chip_and_handler(IRQ_FPGA_NMI, &frv_fpga_pic, handle_edge_irq);

/* the FPGA drives the first four external IRQ inputs on the CPU PIC */
setup_irq(IRQ_CPU_EXTERNAL0, &fpga_irq[0]);
Expand Down
2 changes: 1 addition & 1 deletion arch/frv/kernel/irq-mb93093.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ void __init fpga_init(void)
__clr_IFR(0x0000);

for (irq = IRQ_BASE_FPGA + 8; irq <= IRQ_BASE_FPGA + 10; irq++)
set_irq_chip_and_handler(irq, &frv_fpga_pic, handle_edge_irq);
irq_set_chip_and_handler(irq, &frv_fpga_pic, handle_edge_irq);

/* the FPGA drives external IRQ input #2 on the CPU PIC */
setup_irq(IRQ_CPU_EXTERNAL2, &fpga_irq[0]);
Expand Down
3 changes: 2 additions & 1 deletion arch/frv/kernel/irq-mb93493.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ void __init mb93493_init(void)
int irq;

for (irq = IRQ_BASE_MB93493 + 0; irq <= IRQ_BASE_MB93493 + 10; irq++)
set_irq_chip_and_handler(irq, &frv_mb93493_pic, handle_edge_irq);
irq_set_chip_and_handler(irq, &frv_mb93493_pic,
handle_edge_irq);

/* the MB93493 drives external IRQ inputs on the CPU PIC */
setup_irq(IRQ_CPU_MB93493_0, &mb93493_irq[0]);
Expand Down
4 changes: 2 additions & 2 deletions arch/frv/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@ void __init init_IRQ(void)
int level;

for (level = 1; level <= 14; level++)
set_irq_chip_and_handler(level, &frv_cpu_pic,
irq_set_chip_and_handler(level, &frv_cpu_pic,
handle_level_irq);

set_irq_handler(IRQ_CPU_TIMER0, handle_edge_irq);
irq_set_handler(IRQ_CPU_TIMER0, handle_edge_irq);

/* set the trigger levels for internal interrupt sources
* - timers all falling-edge
Expand Down

0 comments on commit de2e95a

Please sign in to comment.