omap4: board: change global data pointer to file scope
authorNishanth Menon <nm@ti.com>
Fri, 19 Nov 2010 16:19:40 +0000 (11:19 -0500)
committerSandeep Paulraj <s-paulraj@ti.com>
Fri, 19 Nov 2010 21:27:41 +0000 (16:27 -0500)
commit93e3568bd569ce4c079a84e20ea08da99ce83470
treee400786cbe8848bbfbdc560968422e96d52dee0e
parenteb9a28f699667919bf140bdabdf37c25be725c79
omap4: board: change global data pointer to file scope

DECLARE_GLOBAL_DATA_PTR is currently defined within the scope
of function while it is a global pointer. Change the scope of
definition to replicate it's global scope. This seems to help
gcc 4.5 optimizations as well.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
arch/arm/cpu/armv7/omap4/board.c