commit | 7b54366358008241f88228f02cc80ab352265eac | [log] [tgz] |
---|---|---|
author | Yinghai Lu <yinghai@kernel.org> | Mon Apr 02 18:31:53 2012 -0700 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Mon Apr 30 13:53:42 2012 -0600 |
tree | 4de6ae8ce83afabf1b4405cba6895b09d1bc790d | |
parent | 459f58ce51e2e11235b7bb4b1732ebf3c17d86f7 [diff] |
PCI: add generic device into pci_host_bridge struct Use that device for pci_root_bus bridge pointer. Use pci_release_bus_bridge_dev() to release allocated pci_host_bridge in remove path. Use root bus bridge pointer to get host bridge pointer instead of searching host bridge list. That leaves the host bridge list unused, so remove it. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>