From: Russell King Date: Sat, 17 May 2008 21:51:14 +0000 (+0100) Subject: [ARM] pxa: fix pxafb build when cpufreq is enabled X-Git-Tag: v2.6.26-rc3~20^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=78d3cfd33e7acdae0108837de1c55a8cef04805f;p=linux-2.6-omap-h63xx.git [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 --- diff --git a/drivers/video/pxafb.c b/drivers/video/pxafb.c index 48aea39c35a..3ee314beacc 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;