From: Grant Grundler Date: Thu, 29 Jan 2009 05:30:55 +0000 (-0700) Subject: parisc: fix wrong assumption about bus->self X-Git-Tag: v2.6.29~46^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9785d646c10b0707412516ffe56b71b9eb18861f;p=pandora-kernel.git parisc: fix wrong assumption about bus->self Kenji Kaneshige posted a patch series to linux-pci to fix a wrong assumption about pci_bus->self==NULL for all PCI host bus controllers. While PARISC platforms to not behave this way, I prefer to have the code consistent across architectures. The following patch replaces pci_bus->self with pci_bus->parent when used as a test to check for "root bus controller". Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin --- Reading git-diff-tree failed