PCI: Fix disable IRQ 0 in pci_reset_function()
authorSheng Yang <sheng@linux.intel.com>
Tue, 11 Nov 2008 09:17:45 +0000 (17:17 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 19 Nov 2008 22:12:29 +0000 (14:12 -0800)
Before initialization, dev->irq may be zero. Make sure we don't disable
it at reset time in that case.

Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>

No differences found