aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/pciehp.h
diff options
context:
space:
mode:
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>2009-09-15 04:28:28 -0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-09-17 13:06:02 -0400
commita2359a334fb2c89347e031c4494282e6756e9ae7 (patch)
tree9ac5e61752318def916d47fd0ea27b62b19dbc3c /drivers/pci/hotplug/pciehp.h
parent0e3631593c38e8a09bf58a46c6f6a3426d3ad0f0 (diff)
PCI: pciehp: remove slot_device_offset field
Since the device number of the hot-slot under the PCIe downstream port is always 0, the slot_device_offset field in the slot 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.h')
-rw-r--r--drivers/pci/hotplug/pciehp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h
index 382c939ef7ae..979212d5d755 100644
--- a/drivers/pci/hotplug/pciehp.h
+++ b/drivers/pci/hotplug/pciehp.h
@@ -95,7 +95,6 @@ struct controller {
95 struct slot *slot; 95 struct slot *slot;
96 struct hpc_ops *hpc_ops; 96 struct hpc_ops *hpc_ops;
97 wait_queue_head_t queue; /* sleep & wake process */ 97 wait_queue_head_t queue; /* sleep & wake process */
98 u8 slot_device_offset;
99 u32 first_slot; /* First physical slot number */ /* PCIE only has 1 slot */ 98 u32 first_slot; /* First physical slot number */ /* PCIE only has 1 slot */
100 u8 slot_bus; /* Bus where the slots handled by this controller sit */ 99 u8 slot_bus; /* Bus where the slots handled by this controller sit */
101 u32 slot_cap; 100 u32 slot_cap;