]> git.baikalelectronics.ru Git - kernel.git/commit
edac: i5400 fix missing CONFIG_PCI define
authorIra W. Snyder <iws@ovro.caltech.edu>
Mon, 26 Oct 2009 23:50:10 +0000 (16:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 29 Oct 2009 14:39:30 +0000 (07:39 -0700)
commit3d84d46c94ce4ecce727f79d2f8513081d41a494
tree454c4f73e7999c3c56326d4c54cbeae29415714a
parent3eac4619edf147c468dbbfd4b7ecdd99b580bb82
edac: i5400 fix missing CONFIG_PCI define

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 <iws@ovro.caltech.edu>
Signed-off-by: Doug Thompson <dougthompson@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/edac/mpc85xx_edac.c