[POWERPC] fix building without PCI
authorArnd Bergmann <arnd@arndb.de>
Mon, 27 Nov 2006 18:19:00 +0000 (19:19 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 Dec 2006 09:41:21 +0000 (20:41 +1100)
commit11faa658c668030759d4aea6a273b7ac9a0b4746
treeafc9fadfaee51253a5024ee3f588b9f2f05c7401
parent369cf4b940d0d92d33f39a2df11102f3e2df0e0a
[POWERPC] fix building without PCI

At least the ide driver calls pcibus_to_node, which is not
defined when CONFIG_PCI is disabled. This adds a nop function
for the !PCI case.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
include/asm-powerpc/topology.h