From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Ben Herrenschmidt <benh@kernel.crashing.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
linux-fbdev-devel@lists.sourceforge.net
Subject: [PATCH] Silence radeon_pm warning
Date: Mon, 29 Oct 2007 13:59:11 +1100 [thread overview]
Message-ID: <20071029135911.ba1bfee2.sfr@canb.auug.org.au> (raw)
drivers/video/aty/radeon_pm.c:30: warning: 'radeon_reinitialize_M10' declared 'static' but never defined
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
drivers/video/aty/radeon_pm.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
diff --git a/drivers/video/aty/radeon_pm.c b/drivers/video/aty/radeon_pm.c
index be1d57b..f989836 100644
--- a/drivers/video/aty/radeon_pm.c
+++ b/drivers/video/aty/radeon_pm.c
@@ -27,7 +27,9 @@
#include "ati_ids.h"
+#ifdef CONFIG_PM
static void radeon_reinitialize_M10(struct radeonfb_info *rinfo);
+#endif
/*
* Workarounds for bugs in PC laptops:
--
1.5.3.4
next reply other threads:[~2007-10-29 2:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-29 2:59 Stephen Rothwell [this message]
2007-10-29 3:06 ` [PATCH] Silence radeon_pm warning David Miller
2007-10-29 5:02 ` Olof Johansson
2007-10-29 5:33 ` Stephen Rothwell
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=20071029135911.ba1bfee2.sfr@canb.auug.org.au \
--to=sfr@canb.auug.org.au \
--cc=benh@kernel.crashing.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).