linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] edac/mpc85xx: fix unused variable warning
@ 2011-04-07 17:32 Ira W. Snyder
  0 siblings, 0 replies; only message in thread
From: Ira W. Snyder @ 2011-04-07 17:32 UTC (permalink / raw)
  To: linux-kernel; +Cc: Ira W. Snyder, Kumar Gala, bluesmoke-devel

Commit a94d7b35067ab403485a1ea06b7a3d0172d1a1ba introduced an unused
variable warning when CONFIG_FSL_SOC_BOOKE is not defined. Fix it.

Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Cc: Kumar Gala <galak@kernel.crashing.org>
Cc: bluesmoke-devel@lists.sourceforge.net
---
 drivers/edac/mpc85xx_edac.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/edac/mpc85xx_edac.c b/drivers/edac/mpc85xx_edac.c
index 38ab8e2..6002657 100644
--- a/drivers/edac/mpc85xx_edac.c
+++ b/drivers/edac/mpc85xx_edac.c
@@ -1154,7 +1154,9 @@ static void __init mpc85xx_mc_clear_rfxe(void *data)
 static int __init mpc85xx_mc_init(void)
 {
 	int res = 0;
+#ifdef CONFIG_FSL_SOC_BOOKE
 	u32 pvr = 0;
+#endif
 
 	printk(KERN_INFO "Freescale(R) MPC85xx EDAC driver, "
 	       "(C) 2006 Montavista Software\n");
-- 
1.7.3.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-07 17:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-07 17:32 [PATCH] edac/mpc85xx: fix unused variable warning Ira W. Snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).