[linux] Use the device's irq for handler setup instead of stale dev->irq.
authorEric Anholt <eric@anholt.net>
Mon, 16 Jun 2008 20:09:31 +0000 (13:09 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 16 Jun 2008 22:09:11 +0000 (15:09 -0700)
commitc847271179da382af52a6874e2edec586b88af75
tree304dc5ffc9d1ee91fff5bbead167b9536ace0e8b
parent3e48e144992fb11b31875989d45bc8a7c041cdef
[linux] Use the device's irq for handler setup instead of stale dev->irq.

This fixes registration when MSI is set up after the stub function fills in
dev->irq.  Otherwise /proc/interrupts would report attachment to the fasteoi
interrupt.  dev->irq is still exposed (and updated at IRQ setup)
for the drivers that use it for whatever reason.
linux-core/drm_irq.c
shared-core/i915_dma.c