]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: OMAP2+: Make cpu_rev static global variable
authorVaibhav Hiremath <hvaibhav@ti.com>
Mon, 19 Dec 2011 10:20:14 +0000 (15:50 +0530)
committerTony Lindgren <tony@atomide.com>
Mon, 19 Dec 2011 23:40:54 +0000 (15:40 -0800)
commit50a01e6440020877c2f71bc5ac4d818d9b8f31c1
tree51be55e6d91180b570d221de2472ce261a40815c
parent4390f5b2cb1f568c1d4b3e5bbf57158f6809627a
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>
arch/arm/mach-omap2/id.c