PCI: pciehp: fix irq initialization
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Fri, 22 Aug 2008 08:16:48 +0000 (17:16 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 20 Oct 2008 17:53:47 +0000 (10:53 -0700)
commitf7a10e32a1a7ae240fa3925c5727d224eba3e31d
treeb10ee68a20f16ca6267eb1a7a004277bd50bce9b
parentc01156061bdd5976397dfb173f8c70ae351a6cb6
PCI: pciehp: fix irq initialization

Current pciehp driver gets irq number from pci_dev->irq. But because
pciehp driver is a pci express port service driver, it should get irq
number from pcie_device->irq.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/hotplug/pciehp.h
drivers/pci/hotplug/pciehp_hpc.c