ARM: OMAP1: Fix out-of-bounds array access for Innovator
authorTony Lindgren <tony@atomide.com>
Wed, 22 Feb 2012 00:33:08 +0000 (16:33 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 22 Feb 2012 00:33:08 +0000 (16:33 -0800)
commit2226957ed2d84add88368aa4c4f69eae4b4843a3
tree232a8933c7751ded58fc1f8f3d1e41f9bd2e5bc7
parentebe8f7e59d0de3a97d264220deeffa90b8b14003
ARM: OMAP1: Fix out-of-bounds array access for Innovator

Otherwise we can get the following on some compilers:

arch/arm/mach-omap1/board-innovator.c:419:19: warning:
array subscript is above array bounds [-Warray-bounds]
arch/arm/mach-omap1/board-innovator.c:425:19: warning:
array subscript is above array bounds [-Warray-bounds]

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/board-innovator.c