diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-05-17 23:51:14 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-05-17 23:55:39 +0200 |
commit | 78d3cfd33e7acdae0108837de1c55a8cef04805f (patch) | |
tree | 694e5ba3e0e3c075e9d5529a6c95e2fe21982869 | |
parent | [ARM] fix parenthesis in include/asm-arm/arch-omap/control.h (diff) | |
download | linux-78d3cfd33e7acdae0108837de1c55a8cef04805f.tar.xz linux-78d3cfd33e7acdae0108837de1c55a8cef04805f.zip |
[ARM] pxa: fix pxafb build when cpufreq is enabled
If cpufreq is enabled, pxafb wants to call the removed
get_clk_frequency_khz() function for a debug printk. Remove
this reference.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | drivers/video/pxafb.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/video/pxafb.c b/drivers/video/pxafb.c index 48aea39c35a5..3ee314beacc1 100644 --- a/drivers/video/pxafb.c +++ b/drivers/video/pxafb.c @@ -355,9 +355,8 @@ static int pxafb_check_var(struct fb_var_screeninfo *var, struct fb_info *info) } #ifdef CONFIG_CPU_FREQ - pr_debug("pxafb: dma period = %d ps, clock = %d kHz\n", - pxafb_display_dma_period(var), - get_clk_frequency_khz(0)); + pr_debug("pxafb: dma period = %d ps\n", + pxafb_display_dma_period(var)); #endif return 0; |