PCI: do not initialize bridges more than once
authorAlex Chiang <achiang@hp.com>
Fri, 20 Mar 2009 20:56:15 +0000 (14:56 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 20 Mar 2009 21:57:32 +0000 (14:57 -0700)
commitb73e97d95c168cbc19bd1208c894077f25931ba1
tree325b8ecf3358c9980f398166ec6d778c7dc32370
parent74710ded8e16fc8dacbb702a5bac1a493d88549a
PCI: do not initialize bridges more than once

In preparation for PCI core hotplug, we need to ensure that we do
not attempt to re-initialize bridges that have already been initialized.

We only need to worry about non-root buses, since we will not allow
root bus removal.

Reported-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/setup-bus.c