From: Kenji Kaneshige Date: Tue, 17 Feb 2009 05:15:16 +0000 (+0900) Subject: PCI: fix wrong assumption in pci_read_bridge_bases X-Git-Tag: v2.6.30-rc1~419^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f92d4e29d785f1d4217dee7f1ae6ff7140547ed5;p=pandora-kernel.git PCI: fix wrong assumption in pci_read_bridge_bases Current pci_read_bridge_bases() has an assumption that pci_bus->self is NULL on the pci root bus (It checks pci_bus->self to see if the pci bus is root bus). But is might not true on some platforms. We must check pci_bus->parent instead. Signed-off-by: Kenji Kaneshige Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed