[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>
This commit is contained in:
committed by
Linus Torvalds
parent
041cb6241f
commit
f80257a25d
@@ -196,8 +196,10 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
|
||||
mpc52xx_set_bat();
|
||||
|
||||
/* No ISA bus by default */
|
||||
#ifdef CONFIG_PCI
|
||||
isa_io_base = 0;
|
||||
isa_mem_base = 0;
|
||||
#endif
|
||||
|
||||
/* Powersave */
|
||||
/* This is provided as an example on how to do it. But you
|
||||
|
Reference in New Issue
Block a user