]> git.sur5r.net Git - u-boot/commit
omap3: Include array definition only when it is used
authorSanjeev Premi <premi@ti.com>
Mon, 18 Jul 2011 13:12:24 +0000 (09:12 -0400)
committerU-Boot <uboot@aari01-12.(none)>
Wed, 3 Aug 2011 10:49:18 +0000 (12:49 +0200)
commit80bb756dbeeedc9d8a1cd7456b8d98c08ed303f1
tree1be8bac5ca06a2a59a4973f3a3031eaf1fe1d782
parentd50a8f45c9a640b3bcbd0ede91f83c8646cca018
omap3: Include array definition only when it is used

The array of strings corresponding to cpu revision is
used only when CONFIG_DISPLAY_CPUINFO is selected - in
the function print_cpuinfo().

Enclose definition of this array in #ifdef...#endif for
the same.

Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
arch/arm/cpu/armv7/omap3/sys_info.c