From: Stefan Roese <sr@denx.de> Date: Mon, 6 Jul 2009 09:44:33 +0000 (+0200) Subject: ppc4xx: Remove compilation warning "pci_async_enabled defined but not used" X-Git-Tag: v2025.01-rc5-pxa1908~21109^2^2~1 X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=20b3c4b528606d51799aed5e4c71783720cd2b72;p=u-boot.git ppc4xx: Remove compilation warning "pci_async_enabled defined but not used" Signed-off-by: Stefan Roese <sr@denx.de> --- diff --git a/cpu/ppc4xx/cpu.c b/cpu/ppc4xx/cpu.c index 06f44ad376..fb3837c3df 100644 --- a/cpu/ppc4xx/cpu.c +++ b/cpu/ppc4xx/cpu.c @@ -54,6 +54,7 @@ int __get_cpu_num(void) } int get_cpu_num(void) __attribute__((weak, alias("__get_cpu_num"))); +#if defined(CONFIG_PCI) #if defined(CONFIG_405GP) || \ defined(CONFIG_440EP) || defined(CONFIG_440GR) || \ defined(CONFIG_440EPX) || defined(CONFIG_440GRX) @@ -76,6 +77,7 @@ static int pci_async_enabled(void) #endif } #endif +#endif /* CONFIG_PCI */ #if defined(CONFIG_PCI) && !defined(CONFIG_IOP480) && \ !defined(CONFIG_405) && !defined(CONFIG_405EX)