OMAP2xxx clock: clk2xxx.c doesn't compile if CPUFREQ is enabled
authorFelipe Balbi <felipe.balbi@nokia.com>
Wed, 6 Jan 2010 20:13:52 +0000 (13:13 -0700)
committerpaul <paul@twilight.(none)>
Wed, 6 Jan 2010 20:16:04 +0000 (13:16 -0700)
if we enable CPUFREQ we can't build omap2 for two reasons,
one of them is fixed by the patch below.

It's failing because the __must_be_array() check in
ARRAY_SIZE() is failing and printing the following message:

arch/arm/mach-omap2/clock2xxx.c:453: error: negative width in bit-field '<anonymous>'

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
[paul@pwsan.com: commit message updated; changed rate variable name]
Signed-off-by: Paul Walmsley <paul@pwsan.com>

No differences found