Silence radeon_pm warning
PATCH 1/1 Silence radeon_pm warning
drivers/video/aty/radeon_pm.c:30: warning: 'radeon_reinitialize_M10' declared 'static' but never defined
--- drivers/video/aty/radeon_pm.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
Signature · 2 lines
Cheers, Stephen Rothwell [email protected]
drivers/video/aty/radeon_pm.c +2 -0
@@ -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:
Signature · 1 line
1.5.3.4
From: Stephen Rothwell <[email protected]>
Date: Mon, 29 Oct 2007 13:59:11 +1100
Quoted 3 lines
drivers/video/aty/radeon_pm.c:30: warning: 'radeon_reinitialize_M10' declared 'static' but never definedSigned-off-by Stephen Rothwell <[email protected]>
Quoted 3 lines · Stephen Rothwell
drivers/video/aty/radeon_pm.c:30: warning: 'radeon_reinitialize_M10' declared 'static' but never definedSigned-off-by Stephen Rothwell <[email protected]>
I posted this one a few days ago, without adding a new ifdef (just moving the declaration down into the already existing ifdef below it):
http://marc.info/?l=linux-kernel&m=119311699109698&w=2
-Olof
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
Quoted 5 lines · On Mon, 29 Oct 2007 00:02:02 -0500 Olof Johansson <[email protected]> wrote:
I posted this one a few days ago, without adding a new ifdef (just moving the declaration down into the already existing ifdef below it):
Yeah, missed that and yours looks better.
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/