lkml.org 
[lkml]   [2005]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] drivers/video/intelfb/: fix a warning
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 <bunk@stusta.de>

--- 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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:11    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site