diff options
author | Grant Grundler <[email protected]> | 2009-01-28 22:30:55 -0700 |
---|---|---|
committer | Kyle McMartin <[email protected]> | 2009-03-13 01:19:12 -0400 |
commit | 9785d646c10b0707412516ffe56b71b9eb18861f (patch) | |
tree | 1886076d2eff28dd97fa03a4df3d1a3ae76f43a6 /lib/cpu-notifier-error-inject.c | |
parent | c1da90fd099531e9449019dc53a5a02a5eaef2b4 (diff) |
parisc: fix wrong assumption about bus->self
Kenji Kaneshige <[email protected]> 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 <[email protected]>
Signed-off-by: Kyle McMartin <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions