[POWERPC] celleb: Fix PCI config space accesses to subordinate buses
commit0f6e74a3e0c5e805d5f67f7631259c886158a47b
authorIshizaki Kou <kou.ishizaki@toshiba.co.jp>
Wed, 9 May 2007 07:36:40 +0000 (9 17:36 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 10 May 2007 11:28:12 +0000 (10 21:28 +1000)
tree94dab1c8d2aba8a5f7af6d029b8a6d2f4ca90174
parentd1af5b4ea970d8cccdacf243ae42899f3784ad85
[POWERPC] celleb: Fix PCI config space accesses to subordinate buses

Checking whether bus->self is NULL is not enough to know "bus" is the
primary bus.

Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/celleb/scc_epci.c