diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2007-05-09 23:48:53 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-05-09 23:48:53 -0400 |
commit | c9ec87e5121b1777172fc07a14322ebb32a04ba9 (patch) | |
tree | 0f4c49d7bf09253a0429fa373621d8e87116efbc | |
parent | b38d06d8c48e8a866bf8f0ae5dabd9eea9c63f7c (diff) |
[POWERPC] 83xx: Suppress warning when CONFIG_ options aren't defined
Suppress warning when CONFIG_PCI & CONFIG_QUICC_ENGINE is not defined
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r-- | arch/powerpc/platforms/83xx/mpc832x_rdb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/83xx/mpc832x_rdb.c b/arch/powerpc/platforms/83xx/mpc832x_rdb.c index b0b22bb29de7..3db68b73fc32 100644 --- a/arch/powerpc/platforms/83xx/mpc832x_rdb.c +++ b/arch/powerpc/platforms/83xx/mpc832x_rdb.c | |||
@@ -44,7 +44,9 @@ unsigned long isa_mem_base = 0; | |||
44 | */ | 44 | */ |
45 | static void __init mpc832x_rdb_setup_arch(void) | 45 | static void __init mpc832x_rdb_setup_arch(void) |
46 | { | 46 | { |
47 | #if defined(CONFIG_PCI) || defined(CONFIG_QUICC_ENGINE) | ||
47 | struct device_node *np; | 48 | struct device_node *np; |
49 | #endif | ||
48 | 50 | ||
49 | if (ppc_md.progress) | 51 | if (ppc_md.progress) |
50 | ppc_md.progress("mpc832x_rdb_setup_arch()", 0); | 52 | ppc_md.progress("mpc832x_rdb_setup_arch()", 0); |