git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21ed1cf
)
Add omap_rev() hack
author
Grazvydas Ignotas
<notasas@gmail.com>
Thu, 16 Apr 2009 09:44:54 +0000
(12:44 +0300)
committer
Grazvydas 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
patch
|
blob
|
history
diff --git
a/arch/arm/plat-omap/include/mach/cpu.h
b/arch/arm/plat-omap/include/mach/cpu.h
index
4325bbc
..
0940d90
100644
(file)
--- a/
arch/arm/plat-omap/include/mach/cpu.h
+++ b/
arch/arm/plat-omap/include/mach/cpu.h
@@
-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
*/