Skip to content

Commit

Permalink
[ARM] pxa: fix pxafb build when cpufreq is enabled
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King authored and Russell King committed May 17, 2008
1 parent 1df5a8d commit 78d3cfd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/video/pxafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 78d3cfd

Please sign in to comment.