diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2009-09-15 04:26:32 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-09-17 13:05:46 -0400 |
commit | ab9c6c86701b498445334db746aa2e8dc473c7b6 (patch) | |
tree | ebfdc650615be00a8047fb3448d96731a7197292 /drivers/pci/hotplug/pciehp_core.c | |
parent | 6a11c135f3511743d09474ccaac2137d34c352a8 (diff) |
PCI: pciehp: remove bus field
The bus field in struct slot is not necessary.
Acked-by: Alex Chiang <achiang@hp.com>
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_core.c')
-rw-r--r-- | drivers/pci/hotplug/pciehp_core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/pciehp_core.c b/drivers/pci/hotplug/pciehp_core.c index d2cec882a2f5..3164d0e7903b 100644 --- a/drivers/pci/hotplug/pciehp_core.c +++ b/drivers/pci/hotplug/pciehp_core.c | |||
@@ -126,7 +126,8 @@ static int init_slot(struct controller *ctrl) | |||
126 | ctrl_dbg(ctrl, "Registering domain:bus:dev=%04x:%02x:%02x " | 126 | ctrl_dbg(ctrl, "Registering domain:bus:dev=%04x:%02x:%02x " |
127 | "hp_slot=%x sun=%x slot_device_offset=%x\n", | 127 | "hp_slot=%x sun=%x slot_device_offset=%x\n", |
128 | pci_domain_nr(ctrl->pci_dev->subordinate), | 128 | pci_domain_nr(ctrl->pci_dev->subordinate), |
129 | slot->bus, slot->device, slot->hp_slot, slot->number, | 129 | ctrl->pci_dev->subordinate->number, |
130 | slot->device, slot->hp_slot, slot->number, | ||
130 | ctrl->slot_device_offset); | 131 | ctrl->slot_device_offset); |
131 | retval = pci_hp_register(hotplug, | 132 | retval = pci_hp_register(hotplug, |
132 | ctrl->pci_dev->subordinate, | 133 | ctrl->pci_dev->subordinate, |