From: Felipe Balbi Date: Wed, 6 Jan 2010 20:13:52 +0000 (-0700) Subject: OMAP2xxx clock: clk2xxx.c doesn't compile if CPUFREQ is enabled X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79b8ae23d507c183e391e787fa55c9364e6ebf95;p=pandora-kernel.git OMAP2xxx clock: clk2xxx.c doesn't compile if CPUFREQ is enabled 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 '' Signed-off-by: Felipe Balbi [paul@pwsan.com: commit message updated; changed rate variable name] Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed