use set_irq_chip_and_handler (#2408)

SVN-Revision: 8852
owl
Eugene Konev 2007-09-20 02:22:03 +00:00
parent 5fac6f67f1
commit 1af0f14c44
1 changed files with 3 additions and 1 deletions

View File

@ -276,7 +276,9 @@ static int vlynq_setup_irq(struct vlynq_device *dev)
handle_level_irq);
set_irq_chip_data(dev->irq_start + i, dev);
} else {
set_irq_chip(dev->irq_start + i, &vlynq_irq_chip);
set_irq_chip_and_handler(dev->irq_start + i,
&vlynq_irq_chip,
handle_simple_irq);
set_irq_chip_data(dev->irq_start + i, dev);
vlynq_reg_write(dev->remote->int_device[i >> 2], 0);
}