]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6d24b5e83103e4cf77bb2a3f682a5ce8eec7e150
treeb0ac2d431a4f14cbec7cf469fcf73d0096f3fbe8
parentaa35d747929d93df61ad6ddeb13963c3815c1b60
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