diff options
author | 2012-02-23 20:18:59 -0700 | |
---|---|---|
committer | 2012-02-23 20:18:59 -0700 | |
commit | a5390aa6dc3646b08bed421944cef0daf78ab994 (patch) | |
tree | c7c84410c2db3ca93e912135cd3c1722d4b644ac /drivers/i2c/algos/i2c-algo-bit.c | |
parent | PCI: make pci_flags non-weak (diff) | |
download | wireguard-linux-a5390aa6dc3646b08bed421944cef0daf78ab994.tar.xz wireguard-linux-a5390aa6dc3646b08bed421944cef0daf78ab994.zip |
PCI: don't publish new root bus until it's fully initialized
When pci_create_root_bus() adds the new struct pci_bus to the global
pci_root_buses list, the bus becomes visible to other parts of the
kernel, so it should be fully initialized.
This patch delays adding the bus to the pci_root_buses list until after
all the struct pci_bus initialization is finished.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions