From: Pavel Machek <pavel@ucw.cz>
To: kernel list <linux-kernel@vger.kernel.org>, rmk@arm.linux.org.uk
Subject: [patch] fix warning in sa1100fb.c
Date: Sat, 30 Jul 2005 16:35:51 +0200 [thread overview]
Message-ID: <20050730143551.GI1830@elf.ucw.cz> (raw)
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
next reply other threads:[~2005-07-30 14:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-30 14:35 Pavel Machek [this message]
2005-08-07 13:18 ` [patch] fix warning in sa1100fb.c Russell King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050730143551.GI1830@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=rmk@arm.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.