~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/arm/mach-bcmring/irq.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
        unsigned int i;
94
94
        for (i = 0; i < 32; i++) {
95
95
                unsigned int irq = irq_start + i;
96
 
                set_irq_chip(irq, chip);
97
 
                set_irq_chip_data(irq, base);
 
96
                irq_set_chip(irq, chip);
 
97
                irq_set_chip_data(irq, base);
98
98
 
99
99
                if (vic_sources & (1 << i)) {
100
 
                        set_irq_handler(irq, handle_level_irq);
 
100
                        irq_set_handler(irq, handle_level_irq);
101
101
                        set_irq_flags(irq, IRQF_VALID | IRQF_PROBE);
102
102
                }
103
103
        }
119
119
 
120
120
        /* special cases */
121
121
        if (INTCHW_INTC1_GPIO0 & IRQ_INTC1_VALID_MASK) {
122
 
                set_irq_handler(IRQ_GPIO0, handle_simple_irq);
 
122
                irq_set_handler(IRQ_GPIO0, handle_simple_irq);
123
123
        }
124
124
        if (INTCHW_INTC1_GPIO1 & IRQ_INTC1_VALID_MASK) {
125
 
                set_irq_handler(IRQ_GPIO1, handle_simple_irq);
 
125
                irq_set_handler(IRQ_GPIO1, handle_simple_irq);
126
126
        }
127
127
}