Thread (1 message) 1 message, 1 author, 2005-03-12

[2.6 patch] drivers/video/intelfb/: fix a warning

STALE7866d

From: Adrian Bunk <hidden>
Date: 2005-03-12 17:30:11
Also in: lkml

It seems I'm at least partially guilty for the following warning coming 
from Linus' tree:

<--  snip  -->

...
  CC [M]  drivers/video/intelfb/intelfbdrv.o
drivers/video/intelfb/intelfbdrv.h:31: warning: 'intelfb_setup' declared `static' but never defined
...

<--  snip  -->


The fix is simple.

Signed-off-by: Adrian Bunk <redacted>
--- linux-2.6.11-mm3-full/drivers/video/intelfb/intelfbdrv.h.old	2005-03-12 17:51:06.000000000 +0100
+++ linux-2.6.11-mm3-full/drivers/video/intelfb/intelfbdrv.h	2005-03-12 17:51:20.000000000 +0100
@@ -28,7 +28,6 @@
  *    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-static int __init intelfb_setup(char *options);
 static void __devinit get_initial_mode(struct intelfb_info *dinfo);
 static void update_dinfo(struct intelfb_info *dinfo,
 			 struct fb_var_screeninfo *var);



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help