diff options
author | Arnd Bergmann <arnd@arndb.de> | 2007-06-17 19:06:57 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-06-29 02:56:53 -0400 |
commit | d66584086717f6dda76d523ef58363deaa3efe51 (patch) | |
tree | 3b89cca3f5f54f8912f0a8b354193ff9454ae954 /arch/powerpc/platforms/52xx | |
parent | 3dfaa762b59743719f00f2dc2f559de59f5502f7 (diff) |
[POWERPC] fix building without PCI
Some code looks can be configured to be built without
PCI support, but does not work properly.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/powerpc/platforms/52xx')
-rw-r--r-- | arch/powerpc/platforms/52xx/efika.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/52xx/efika.c b/arch/powerpc/platforms/52xx/efika.c index f591a9fc19b9..4cb441975ff7 100644 --- a/arch/powerpc/platforms/52xx/efika.c +++ b/arch/powerpc/platforms/52xx/efika.c | |||
@@ -252,6 +252,8 @@ define_machine(efika) | |||
252 | .progress = rtas_progress, | 252 | .progress = rtas_progress, |
253 | .get_boot_time = rtas_get_boot_time, | 253 | .get_boot_time = rtas_get_boot_time, |
254 | .calibrate_decr = generic_calibrate_decr, | 254 | .calibrate_decr = generic_calibrate_decr, |
255 | #ifdef CONFIG_PCI | ||
255 | .phys_mem_access_prot = pci_phys_mem_access_prot, | 256 | .phys_mem_access_prot = pci_phys_mem_access_prot, |
257 | #endif | ||
256 | }; | 258 | }; |
257 | 259 | ||