public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] fix warning in sa1100fb.c
@ 2005-07-30 14:35 Pavel Machek
  2005-08-07 13:18 ` Russell King
  0 siblings, 1 reply; 2+ messages in thread
From: Pavel Machek @ 2005-07-30 14:35 UTC (permalink / raw)
  To: kernel list, rmk

Fix compile-time warning in sa1100fb.c

Signed-off-by: Pavel Machek <pavel@suse.cz>

---
commit 00fe4ed421624db9aae1bdcc80458d831422d9f9
tree 042157c712919bdc4006b59093181c60c2013af1
parent 785338d9bb750962ce99e672177f604853a69f97
author <pavel@amd.(none)> Sat, 30 Jul 2005 16:35:06 +0200
committer <pavel@amd.(none)> Sat, 30 Jul 2005 16:35:06 +0200

 drivers/video/sa1100fb.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

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 unsigned int sa1100fb_display_dma
 	 */
 	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] 2+ messages in thread

end of thread, other threads:[~2005-08-07 13:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-30 14:35 [patch] fix warning in sa1100fb.c Pavel Machek
2005-08-07 13:18 ` Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox