ARM: OMAP2+: Make cpu_rev static global variable
authorVaibhav Hiremath <hvaibhav@ti.com>
Mon, 19 Dec 2011 10:20:14 +0000 (15:50 +0530)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 14 Apr 2014 00:23:52 +0000 (03:23 +0300)
commit35424e5318acc890644e3bb8513f353e395e002f
tree461cbf493aabbcd2d29419ca6330202b052e949a
parentfc27c77d5334d9515850afc4f81b7f8d8884daab
ARM: OMAP2+: Make cpu_rev static global variable

As part of omap revision code cleanup, make cpu_rev
variable static global to the file (id.c). This is
needed so we can split the SoC detection from SoC
feature detection in the following patch. Also move
omap3_cpuinfo function a bit as that will be shared
by other omap3 like SoCs.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
[tony@atomide.com: updated comments]
Signed-off-by: Tony Lindgren <tony@atomide.com>
Conflicts:

arch/arm/mach-omap2/id.c
arch/arm/mach-omap2/id.c