[PATCH] edac: mpc85xx: fix warning when building without CONFIG_PCI

2009-07-08 Thread Ira W. Snyder
When building without CONFIG_PCI the edac_pci_idx variable is unused, causing a build-time warning. Wrap the variable in #ifdef CONFIG_PCI, just like the rest of the PCI support. Signed-off-by: Ira W. Snyder i...@ovro.caltech.edu --- drivers/edac/mpc85xx_edac.c |2 ++ 1 files changed, 2

Re: [PATCH] edac: mpc85xx: fix warning when building without CONFIG_PCI

2009-07-08 Thread Dave Jiang
Acked-by: Dave Jiang dji...@mvista.com On 07/08/2009 09:15 AM, Ira W. Snyder wrote: When building without CONFIG_PCI the edac_pci_idx variable is unused, causing a build-time warning. Wrap the variable in #ifdef CONFIG_PCI, just like the rest of the PCI support. Signed-off-by: Ira W.