Browse Source

omap3: Fix compile warning

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>
Sanjeev Premi 13 years ago
parent
commit
939e722276
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/cpu/armv7/omap3/sys_info.c

+ 1 - 1
arch/arm/cpu/armv7/omap3/sys_info.c

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