]> err.no Git - linux-2.6/commitdiff
[ARM] pxa: fix pxafb build when cpufreq is enabled
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 17 May 2008 21:51:14 +0000 (22:51 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 17 May 2008 21:55:39 +0000 (22:55 +0100)
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>
drivers/video/pxafb.c

index 48aea39c35a5e007f1f359f7c723e9d224c01cd2..3ee314beacc1a7c6be88fc854ca4b0b69aff4c91 100644 (file)
@@ -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;