OMAP2 clock: dynamically allocate CPUFreq frequency table
authorPaul Walmsley <paul@pwsan.com>
Fri, 8 Jan 2010 22:23:17 +0000 (15:23 -0700)
committerPaul Walmsley <paul@pwsan.com>
Fri, 8 Jan 2010 22:23:17 +0000 (15:23 -0700)
commitcdf1a915569ea9c3f6b9b4ef48a189d531d3954c
treeb0ac2d431a4f14cbec7cf469fcf73d0096f3fbe8
parent4e37c10d8a721b19933491df7af296aac9281004
OMAP2 clock: dynamically allocate CPUFreq frequency table

Dynamically allocate the CPUFreq frequency table on OMAP2xxx chips.
This fixes some compilation problems, since the kernel may not know
what chip it is running on until boot-time.  This also reduces the size
of the CPUFreq frequency table.

Problem originally reported by Felipe Balbi <felipe.balbi@nokia.com>.
Thanks also for comments on the patch from Felipe and Kevin.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Felipe Balbi <felipe.balbi@nokia.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/clock2xxx.c