[ARM] pxa/cpufreq: fix index assignments for end marker
authorDaniel Mack <daniel@caiaq.de>
Fri, 20 Nov 2009 16:50:34 +0000 (17:50 +0100)
committerEric Miao <eric.y.miao@gmail.com>
Fri, 20 Nov 2009 20:23:13 +0000 (14:23 -0600)
commit68a31de302bae12010ab116752d4362bd7fe2851
tree3525e4af452cfe124bd81dffee07fa720274b6cc
parent648f4e3e50c4793d9dbf9a09afa193631f76fa26
[ARM] pxa/cpufreq: fix index assignments for end marker

I stumbled over two small things regarding the .index field assignment
in the dynamically created cpu frequency tables for pxa2xx and pxa3xx.

Even though that doesn't currently cause any problem, it should still be
fixed in case the logic in the CPUFREQ core changes.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-pxa/cpufreq-pxa2xx.c
arch/arm/mach-pxa/cpufreq-pxa3xx.c