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

« back to all changes in this revision

Viewing changes to arch/arm/plat-s5p/irq-eint.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:
205
205
        int irq;
206
206
 
207
207
        for (irq = IRQ_EINT(0); irq <= IRQ_EINT(15); irq++)
208
 
                set_irq_chip(irq, &s5p_irq_vic_eint);
 
208
                irq_set_chip(irq, &s5p_irq_vic_eint);
209
209
 
210
210
        for (irq = IRQ_EINT(16); irq <= IRQ_EINT(31); irq++) {
211
 
                set_irq_chip(irq, &s5p_irq_eint);
212
 
                set_irq_handler(irq, handle_level_irq);
 
211
                irq_set_chip_and_handler(irq, &s5p_irq_eint, handle_level_irq);
213
212
                set_irq_flags(irq, IRQF_VALID);
214
213
        }
215
214
 
216
 
        set_irq_chained_handler(IRQ_EINT16_31, s5p_irq_demux_eint16_31);
 
215
        irq_set_chained_handler(IRQ_EINT16_31, s5p_irq_demux_eint16_31);
217
216
        return 0;
218
217
}
219
218