aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/pciehp_core.c
diff options
context:
space:
mode:
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>2009-09-15 17:27:24 +0900
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-09-17 10:05:58 -0700
commit0e3631593c38e8a09bf58a46c6f6a3426d3ad0f0 (patch)
treee5b47555b2f4611c9c478367fe9000d3812c62b1 /drivers/pci/hotplug/pciehp_core.c
parentPCI: pciehp: remove device field (diff)
downloadlinux-dev-0e3631593c38e8a09bf58a46c6f6a3426d3ad0f0.tar.xz
linux-dev-0e3631593c38e8a09bf58a46c6f6a3426d3ad0f0.zip
PCI: pciehp: remove hp_slot field
The hp_slot field is to identify the slot under the same controller. But, since PCIe downstream port has only one slot at most, it is meaningless and we don't need it. 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/pciehp_core.c b/drivers/pci/hotplug/pciehp_core.c
index cc3a852e38bd..3adca3cb502a 100644
--- a/drivers/pci/hotplug/pciehp_core.c
+++ b/drivers/pci/hotplug/pciehp_core.c
@@ -124,10 +124,10 @@ static int init_slot(struct controller *ctrl)
snprintf(name, SLOT_NAME_SIZE, "%u", slot->number);
ctrl_dbg(ctrl, "Registering domain:bus:dev=%04x:%02x:00 "
- "hp_slot=%x sun=%x slot_device_offset=%x\n",
+ "sun=%x slot_device_offset=%x\n",
pci_domain_nr(ctrl->pci_dev->subordinate),
ctrl->pci_dev->subordinate->number,
- slot->hp_slot, slot->number, ctrl->slot_device_offset);
+ slot->number, ctrl->slot_device_offset);
retval = pci_hp_register(hotplug,
ctrl->pci_dev->subordinate, 0, name);
if (retval) {