Add omap_rev() hack
authorGrazvydas Ignotas <notasas@gmail.com>
Thu, 16 Apr 2009 09:44:54 +0000 (12:44 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 1 May 2009 15:43:09 +0000 (18:43 +0300)
omap_rev() was added in .28 (renamed from system_rev), so we
use this hack here.

arch/arm/plat-omap/include/mach/cpu.h

index 4325bbc..0940d90 100644 (file)
@@ -41,6 +41,9 @@ struct omap_chip_id {
  */
 extern unsigned int system_rev;
 
+/* compatibility with newer code */
+#define omap_rev() system_rev
+
 /*
  * Test if multicore OMAP support is needed
  */