From: Sheng Yang Date: Tue, 11 Nov 2008 09:17:45 +0000 (+0800) Subject: PCI: Fix disable IRQ 0 in pci_reset_function() X-Git-Tag: v2.6.28-rc6~12^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1df8fb3d5f078f9cab901b6106ef2c9b74eef7df;p=pandora-kernel.git PCI: Fix disable IRQ 0 in pci_reset_function() Before initialization, dev->irq may be zero. Make sure we don't disable it at reset time in that case. Reviewed-by: Matthew Wilcox Signed-off-by: Sheng Yang Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed