aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/pciehp.h
diff options
context:
space:
mode:
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>2008-08-22 04:16:48 -0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-10-20 13:53:47 -0400
commitf7a10e32a1a7ae240fa3925c5727d224eba3e31d (patch)
treeb10ee68a20f16ca6267eb1a7a004277bd50bce9b /drivers/pci/hotplug/pciehp.h
parentc01156061bdd5976397dfb173f8c70ae351a6cb6 (diff)
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>
Diffstat (limited to 'drivers/pci/hotplug/pciehp.h')
-rw-r--r--drivers/pci/hotplug/pciehp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h
index 9e6cec67e1c..217427a0ead 100644
--- a/drivers/pci/hotplug/pciehp.h
+++ b/drivers/pci/hotplug/pciehp.h
@@ -87,6 +87,7 @@ struct controller {
87 int num_slots; /* Number of slots on ctlr */ 87 int num_slots; /* Number of slots on ctlr */
88 int slot_num_inc; /* 1 or -1 */ 88 int slot_num_inc; /* 1 or -1 */
89 struct pci_dev *pci_dev; 89 struct pci_dev *pci_dev;
90 struct pcie_device *pcie; /* PCI Express port service */
90 struct list_head slot_list; 91 struct list_head slot_list;
91 struct hpc_ops *hpc_ops; 92 struct hpc_ops *hpc_ops;
92 wait_queue_head_t queue; /* sleep & wake process */ 93 wait_queue_head_t queue; /* sleep & wake process */