diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2006-01-06 03:11:38 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:31 -0500 |
commit | f80257a25d9f73a0e6e377c7d6bf29b8938c042d (patch) | |
tree | e44b01971bafb813785c8c55e75b2a29f31b804d /arch/ppc/platforms/lite5200.c | |
parent | 041cb6241fa97c4881dd19d79f783b2e077acd28 (diff) |
[PATCH] ppc32: Allows compilation of a MPC52xx kernel without PCI
Some custom cards might not need PCI, without this patch, compilation fails.
Signed-off-by: Roger Blofeld <blofeldus@yahoo.com>
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc/platforms/lite5200.c')
-rw-r--r-- | arch/ppc/platforms/lite5200.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/ppc/platforms/lite5200.c b/arch/ppc/platforms/lite5200.c index d44cc991179f..7ed52dc340c9 100644 --- a/arch/ppc/platforms/lite5200.c +++ b/arch/ppc/platforms/lite5200.c | |||
@@ -196,8 +196,10 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5, | |||
196 | mpc52xx_set_bat(); | 196 | mpc52xx_set_bat(); |
197 | 197 | ||
198 | /* No ISA bus by default */ | 198 | /* No ISA bus by default */ |
199 | #ifdef CONFIG_PCI | ||
199 | isa_io_base = 0; | 200 | isa_io_base = 0; |
200 | isa_mem_base = 0; | 201 | isa_mem_base = 0; |
202 | #endif | ||
201 | 203 | ||
202 | /* Powersave */ | 204 | /* Powersave */ |
203 | /* This is provided as an example on how to do it. But you | 205 | /* This is provided as an example on how to do it. But you |