* [zaurus] fix compilation with cpufreq disabled
@ 2005-10-03 21:43 Pavel Machek
0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2005-10-03 21:43 UTC (permalink / raw)
To: Andrew Morton, rpurdie, lenz, kernel list, Russell King
This fixes compilation with CPU_FREQ disabled.
Signed-off-by: Pavel Machek <pavel@suse.cz>
diff --git a/drivers/video/sa1100fb.c b/drivers/video/sa1100fb.c
--- a/drivers/video/sa1100fb.c
+++ b/drivers/video/sa1100fb.c
@@ -592,6 +592,7 @@ sa1100fb_setcolreg(u_int regno, u_int re
return ret;
}
+#ifdef CONFIG_CPU_FREQ
/*
* sa1100fb_display_dma_period()
* Calculate the minimum period (in picoseconds) between two DMA
@@ -606,6 +607,7 @@ static inline unsigned int sa1100fb_disp
*/
return var->pixclock * 8 * 16 / var->bits_per_pixel;
}
+#endif
/*
* sa1100fb_check_var():
--
if you have sharp zaurus hardware you don't need... you know my address
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-10-03 21:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-03 21:43 [zaurus] fix compilation with cpufreq disabled Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome