[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>
This commit is contained in:
parent
1df5a8d004
commit
78d3cfd33e
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue