]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: fix wrong assumption about bus->self
authorGrant Grundler <grundler@parisc-linux.org>
Thu, 29 Jan 2009 05:30:55 +0000 (22:30 -0700)
committerKyle McMartin <kyle@treachery.i.cabal.ca>
Fri, 13 Mar 2009 05:19:12 +0000 (01:19 -0400)
commit36e74d3defc18c85340ccdccdba55a57a466b028
tree1886076d2eff28dd97fa03a4df3d1a3ae76f43a6
parent464895977dc8b5cb27de2a8040c9585940bd7cd3
parisc: fix wrong assumption about bus->self

Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> 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 <grundler@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
drivers/parisc/dino.c
drivers/parisc/iosapic.c
drivers/parisc/lba_pci.c