arm: orion: Use generic irq chip

Thomas Gleixner tglx at linutronix.de
Wed Apr 20 04:35:28 EDT 2011


On Wed, 20 Apr 2011, Abhijeet Dharmapurikar wrote:
> > -	for (i = 0; i<  ngpio; i++) {
> > -		unsigned int irq = secondary_irq_base + i;
> > +	gc = irq_alloc_generic_chip("orion_gpio_irq", 1, secondary_irq_base,
> > +				    ochip->base, handle_level_irq);
> 
> should this be 2 instead of 1 ?
> 	gc = irq_alloc_generic_chip("orion_gpio_irq", 2,  ...

Ouch, yes.



More information about the linux-arm-kernel mailing list