linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Silence radeon_pm warning
@ 2007-10-29  2:59 Stephen Rothwell
  2007-10-29  3:06 ` David Miller
  2007-10-29  5:02 ` Olof Johansson
  0 siblings, 2 replies; 4+ messages in thread
From: Stephen Rothwell @ 2007-10-29  2:59 UTC (permalink / raw)
  To: Ben Herrenschmidt; +Cc: LKML, linux-fbdev-devel

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-10-29  5:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-29  2:59 [PATCH] Silence radeon_pm warning Stephen Rothwell
2007-10-29  3:06 ` David Miller
2007-10-29  5:02 ` Olof Johansson
2007-10-29  5:33   ` Stephen Rothwell

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).