]> git.sur5r.net Git - u-boot/commitdiff
omap3: Fix compile warning
authorSanjeev Premi <premi@ti.com>
Fri, 23 Sep 2011 05:29:45 +0000 (05:29 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 30 Sep 2011 20:00:55 +0000 (22:00 +0200)
Building without option CONFIG_DISPLAY_CPUINFO leads to
this warning:
sys_info.c:50:14: warning: 'rev_s_37xx' defined but not used

Signed-off-by: Sanjeev Premi <premi@ti.com>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
arch/arm/cpu/armv7/omap3/sys_info.c

index bdb151d7f63904b1f0be6cb138cf5de3c1eae09b..22887aec05bd3b418928f30a3676b4c6537d45f6 100644 (file)
@@ -44,13 +44,13 @@ static char *rev_s[CPU_3XX_MAX_REV] = {
                                "UNKNOWN",
                                "UNKNOWN",
                                "3.1.2"};
-#endif /* CONFIG_DISPLAY_CPUINFO */
 
 /* this is the revision table for 37xx CPUs */
 static char *rev_s_37xx[CPU_37XX_MAX_REV] = {
                                "1.0",
                                "1.1",
                                "1.2"};
+#endif /* CONFIG_DISPLAY_CPUINFO */
 
 /*****************************************************************
  * dieid_num_r(void) - read and set die ID