diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2009-09-15 04:25:17 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-09-17 13:05:36 -0400 |
commit | e23727da77109ef856f7a76c1a7d2e2282f600f5 (patch) | |
tree | 83d600080ea3cbb8bd064ddad040604e06f077ce /drivers/pci/hotplug/pciehp.h | |
parent | 8720d27dabf580278a7719fa8b5783d9878e2d42 (diff) |
PCI: pciehp: remove num_slots field
Since PCIe downstream port has only one slot at most, we don't need
num_slots field in struct controller. Note that struct controller
itself doesn't exist if PCIe downstream port has no slot.
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.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h index af397b1291ea..0282bae81eb1 100644 --- a/drivers/pci/hotplug/pciehp.h +++ b/drivers/pci/hotplug/pciehp.h | |||
@@ -93,7 +93,6 @@ struct event_info { | |||
93 | struct controller { | 93 | struct controller { |
94 | struct mutex crit_sect; /* critical section mutex */ | 94 | struct mutex crit_sect; /* critical section mutex */ |
95 | struct mutex ctrl_lock; /* controller lock */ | 95 | struct mutex ctrl_lock; /* controller lock */ |
96 | int num_slots; /* Number of slots on ctlr */ | ||
97 | int slot_num_inc; /* 1 or -1 */ | 96 | int slot_num_inc; /* 1 or -1 */ |
98 | struct pci_dev *pci_dev; | 97 | struct pci_dev *pci_dev; |
99 | struct pcie_device *pcie; /* PCI Express port service */ | 98 | struct pcie_device *pcie; /* PCI Express port service */ |